API Reference [Sample]
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
querystring Β· max: 512Required
pagestringOptional
Identifier of the page results to fetch.
limitnumber Β· max: 1000Optional
The number of results per page
Responses
200
OK
application/json
default
Unexpected Error
application/json
get
/searchAuthorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
querystringRequired
formatstring Β· enumOptionalPossible values:
Output format for the content.
detailsbooleanOptional
Return query details in the result
Responses
200
OK
application/json
default
Unexpected Error
application/json
get
/search/askAuthorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
formatstring Β· enumOptionalPossible values:
Output format for the content.
detailsbooleanOptional
Return query details in the result
Body
querystringRequired
previousQueriesstring[] Β· max: 10OptionalDeprecated
Responses
200
OK
application/json
default
Unexpected Error
application/json
post
/search/askAuthorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
spaceIdstringRequired
The unique id of the space
Body
and
anyOptional
or
or
Responses
200
The space has been updated
application/json
default
Unexpected Error
application/json
patch
/spaces/{spaceId}Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
spaceIdstringRequired
The unique id of the space
Responses
205
Space has been deleted
default
Unexpected Error
application/json
delete
/spaces/{spaceId}No content
PreviousCreating and Hosting an API With FlaskNextBuilding a Full Stack Application with Flask and HTMx
Was this helpful?