This document (as `GET /datanotes/openapi.json`, with a token).
POST
/datanotes/openapi/
const url = 'https://example.com/datanotes/openapi/';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/datanotes/openapi/ \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{}'Authorizations
Section titled “Authorizations”Request Body
Section titled “Request Body”Media typeapplication/json
object
Example generated
{}Responses
Section titled “Responses”Done.
Media typeapplication/json
object
Example generated
{}Bad input: the body is not a JSON object, or an argument is unknown, missing or of the wrong type.
Media typeapplication/json
object
error
required
What went wrong, for a person or an agent.
string
Example generated
{ "error": "example"}Missing or wrong bearer token.
Media typeapplication/json
object
error
required
What went wrong, for a person or an agent.
string
Example generated
{ "error": "example"}Unexpected error.
Media typeapplication/json
object
error
required
What went wrong, for a person or an agent.
string
Example generated
{ "error": "example"}