Util
Lists fields that can be used in other calls
Authorizations
OAuth2applicationRequired
Token URL:
Responses
200
OK
application/json
string[]Optional
503
Service Unavailable
application/json
get/util/fields
GET /api/util/fields HTTP/1.1
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
[
"text"
]Will reply with Pong if service is ready to handle requests
Responses
200
OK
application/json
databasestringOptionalExample:
database messageesstringOptionalExample:
es messagehostnamestringOptionalExample:
server123ipstringOptionalExample:
192.0.2.2namestringOptionalExample:
pongversionstringOptionalExample:
0.21-1111503
Service Unavailable
application/json
get/util/ping
GET /api/util/ping HTTP/1.1
Accept: */*
{
"database": "database message",
"es": "es message",
"hostname": "server123",
"ip": "192.0.2.2",
"name": "pong",
"version": " 0.21-1111"
}Information about current user
Authorizations
OAuth2applicationRequired
Token URL:
Responses
200
OK
application/json
client_idstringOptionalExample:
account nameemailstringOptionalExample:
someemail@i3d.netexpnumberOptionalExample:
1665151134iatnumberOptionalExample:
1665147534isStaffAccountstringOptionalExample:
TruejtistringOptionalExample:
bZzNlATzvozLZ4o7naNQTeO4fzPVEIC8kNTYdorqWGDQZeDhLDdk7organizationIdstringOptionalExample:
12312313f-asdasdsad-fasdadasd401
Unauthorized
application/json
get/util/whoami
GET /api/util/whoami HTTP/1.1
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"client_id": "account name",
"email": "someemail@i3d.net",
"exp": 1665151134,
"iat": 1665147534,
"isStaffAccount": "True",
"jti": "bZzNlATzvozLZ4o7naNQTeO4fzPVEIC8kNTYdorqWGDQZeDhLDdk7",
"organizationId": "12312313f-asdasdsad-fasdadasd",
"services": {
"ANY_ADDITIONAL_PROPERTY": {
"capabilities": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
},
"projectName": "text",
"serviceId": "text",
"serviceType": "text",
"vhost": {
"BillingTemplateId": 12314,
"clientId": "12345",
"dns": "cdn.i3d.net",
"enabled": true,
"hash": "JJUSMXH",
"name": "VHost name",
"originId": 12314,
"path": "/o1/cdn"
}
}
}
}Last updated
Was this helpful?