ODP photo (image).
GET
/odps/{odp}/photo
const url = 'https://example.com/api/v1/odps/1/photo';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/v1/odps/1/photo \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”odp
required
integer
Responses
Section titled “Responses”OK
Media typeimage/*
string
No token, expired (code token_expired) or unknown token.
Media typeapplication/json
object
message
required
string
code
string
Example generated
{ "message": "example", "code": "example"}Service_token_required, ip_not_allowed or scope_missing.
Media typeapplication/json
object
message
required
string
code
string
Example generated
{ "message": "example", "code": "example"}Not found, or belongs to another organisation.
Media typeapplication/json
object
message
required
string
code
string
Example generated
{ "message": "example", "code": "example"}Rate limit of the token; see Retry-After.
Media typeapplication/json
object
message
required
string
code
string
Example generated
{ "message": "example", "code": "example"}