ScientiaMobile API (1.0.4)

Download OpenAPI specification:Download

Authentication

ApiKey

Security Scheme Type HTTP
HTTP Authorization Scheme bearer
Bearer format "uuid"

Identity

Operations about Identity

List subscriptions available for user-id

List subscriptions available for user-id

Authorizations:
path Parameters
required
string or integer

ID of user for which to return subscriptions. The special value me may be given to use the ID of the authenticated user.

Responses

Request samples

curl \
 https://api.scientiamobile.com/identity/v1/users/10/subscriptions \
  -H 'Authorization: Bearer <token>' \
  -H 'Content-Type: application/json'

Response samples

Content type
application/json
[
  • {
    }
]

ImageEngine

Operations about ImageEngine

List origins for a specific subscription_id

List origins for a specific subscription_id

Authorizations:
path Parameters
subscription_id
required
integer <int>

ID of subscription to return origins

Responses

Request samples

curl \
 https://api.scientiamobile.com/imageengine/cdn/v1/subscriptions/12666/origins \
  -H 'Authorization: Bearer <token>' \
  -H 'Content-Type: application/json'

Response samples

Content type
application/json
[
  • {
    }
]

Executes a purge operation

Executes a purge operation

Authorizations:
path Parameters
subscription_id
required
integer <int>

ID of subscription to return origins

Request Body schema: application/json
origin
required
string
pattern
required
string

Responses

Request samples

Content type
application/json
{}

Response samples

Content type
application/json
{
  • "purge_id": "11a38b9a-b3da-360f-9353-a5a725514269"
}

List current purges for this subscription

List current purges for this subscription

Authorizations:
path Parameters
subscription_id
required
integer <int>

ID of subscription to return origins

Responses

Request samples

curl -X GET \
 https://api.scientiamobile.com/imageengine/cdn/v1/subscriptions/12666/purges \
  -H 'Authorization: Bearer <token>' \
  -H 'Content-Type: application/json'

Response samples

Content type
application/json
{
  • "purge_id": "11a38b9a-b3da-360f-9353-a5a725514269",
  • "pattern": "/images/*.png",
  • "created": "2019-07-02T15:32:17Z",
  • "status": "completed"
}

Status of one purge request

Status of one purge request

Authorizations:
path Parameters
subscription_id
required
integer <int>

ID of subscription to return origins

purge_id
required
integer <int>

ID of a purge request to return status

Responses

Request samples

curl -X GET \
 https://api.scientiamobile.com/imageengine/cdn/v1/subscriptions/12666/purges/11a38b9a-b3da-360f-9353-a5a725514269 \
  -H 'Authorization: Bearer <token>' \
  -H 'Content-Type: application/json'

Response samples

Content type
application/json
{
  • "purge_id": "11a38b9a-b3da-360f-9353-a5a725514269",
  • "pattern": "/images/*.png",
  • "created": "2019-07-02T15:32:17Z",
  • "status": "completed"
}