@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api Automata Market Intelligence API
@base https://api.byautomata.io/
@version 1.0.1
@auth ApiKey x-api-key in header
@endpoints 4
@toc similar(1), search(1), contentpro-similar-text(1), contentpro-search(1)

@group similar
@endpoint GET /similar
@required {link: map}
@optional {page: map}
@returns(200)
@errors {400, 403, 501}

@endgroup

@group search
@endpoint GET /search
@required {terms: map}
@optional {page: map}
@returns(200)
@errors {400, 403, 501}

@endgroup

@group contentpro-similar-text
@endpoint POST /contentpro-similar-text
@required {text: str}
@returns(200)
@errors {400, 403, 501}

@endgroup

@group contentpro-search
@endpoint GET /contentpro-search
@required {terms: map}
@returns(200)
@errors {400, 403, 501}

@endgroup

@end
