Jwt
Authorizations
OAuth2applicationRequired
Token URL:
Path parameters
serviceIdanyRequired
serviceId
Body
expintegerOptionalExample:
1300819380filestringOptionalExample:
/some/path/ipstringOptionalExample:
203.0.113.0nbfintegerOptionalExample:
1300819380Responses
200
OK
application/json
expintegerOptionalExample:
1300819380filestringOptionalExample:
/some/path/iatintegerOptionalExample:
1300819380ipstringOptionalExample:
203.0.113.0issstringOptionalExample:
cdn.i3d.netnbfintegerOptionalExample:
1300819380substringOptionalExample:
k13423tokenstringOptional
tokenSHA256HashstringOptional
401
Unauthorized
application/json
503
Service Unavailable
application/json
post/service/{serviceId}/jwt
POST /api/service/{serviceId}/jwt HTTP/1.1
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 75
{
"exp": 1300819380,
"file": "/some/path/",
"ip": "203.0.113.0",
"nbf": 1300819380
}{
"exp": 1300819380,
"file": "/some/path/",
"iat": 1300819380,
"ip": "203.0.113.0",
"iss": "cdn.i3d.net",
"nbf": 1300819380,
"sub": "k13423",
"token": "text",
"tokenSHA256Hash": "text"
}Authorizations
OAuth2applicationRequired
Token URL:
Path parameters
serviceIdanyRequired
serviceId
tokenanyRequired
JWT Token
Responses
201
Created
application/json
tokenstringOptional
validbooleanOptionalExample:
true401
Unauthorized
application/json
503
Service Unavailable
application/json
get/service/{serviceId}/jwt/{token}
GET /api/service/{serviceId}/jwt/{token} HTTP/1.1
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"claims": {
"exp": 1300819380,
"file": "/some/path/",
"iat": 1300819380,
"ip": "203.0.113.0",
"iss": "cdn.i3d.net",
"nbf": 1300819380,
"sub": "k13423"
},
"token": "text",
"valid": true
}Last updated
Was this helpful?