ORB360 DAM DOCS
HomeLogin
  • 🚀Getting Started
  • EMBED
    • Single 360 - Hosted
    • Multiple 360 - Hosted
    • Advanced 360 - Hosted
    • 360 Player - Custom
  • API REFERENCE
    • Introduction
    • Specification
    • Authentication
  • ENDPOINTS
    • Integration
    • Integration - JOOR
    • Tenant
    • Shoot
    • Media
    • Tag
    • Image
Powered by GitBook
On this page

Was this helpful?

  1. ENDPOINTS

Tenant

PreviousIntegration - JOORNextShoot

Last updated 1 year ago

Was this helpful?

The Tenant object represents an organisation (designer) within the DAM.

Users will typically have access to a subset of the available Tenants on the system.

List Tenants

get

List available Tenants for the authenticated user

Authorizations
Responses
200
success
application/json
get
GET /api/tenant HTTP/1.1
Host: api.orb360.tech
Accept: */*
200

success

{
  "tenants": null,
  "user": {
    "enabled": true,
    "version": 123,
    "dateCreated": 1574782604487,
    "mfa": true,
    "name": "James Kirk",
    "email": "support@orb360.tech",
    "id": "auth0|dd5e21fb23efe45d1761ddce",
    "createdBy": "auth0|a3d8badce67905bc1a397fcc",
    "globalRole": "customer",
    "lastLogin": 1594988391000,
    "dateUpdated": 1594988393066,
    "apiKey": "9275c777-360f-4d60-8a4c-e2af0d933eaa:LuwqbCnOig8hJScpkjlioVhExeeDDkbn7kuYUwS0"
  }
}

Get Tenant

get

Get an individual tenant by id

Authorizations
Path parameters
tenantIdstringRequired

Unique tenant id

Example: f700d27e-64ed-4571-ae2e-8c948c1c296e
Responses
200
success
application/json
404
not found
application/json
get
GET /api/tenant/{tenantId} HTTP/1.1
Host: api.orb360.tech
Accept: */*
{
  "tenant": {
    "id": "fdb67f2e-219d-4771-b14f-a2ddc24b812b",
    "version": 123,
    "dateCreated": 1574782604487,
    "publicOriginHeaders": [
      "https://orb360.tech",
      "http://localhost:8080"
    ],
    "defaultShootSettings": {
      "integrations": {
        "findByTag": {
          "enabled-apiKey": true,
          "enabled-public": true
        },
        "findById": {
          "enabled-apiKey": true,
          "enabled-public": true
        }
      },
      "generatedMediaPresets": {
        "360_V2": {
          "jpg": null,
          "gif": null,
          "mp4": null
        },
        "SINGLE_IMAGE": {
          "jpg": null
        },
        "VIDEO": {
          "m3u8": null
        }
      },
      "mediaNameFormat": "{tag:StyleNumber}"
    },
    "aliases": {
      "joor": [
        {
          "alias": "joor:1234",
          "createdBy": "auth0|dd5e21fb23efe45d1761ddce",
          "dateCreated": 1594988393066,
          "dateUpdated": 1594988393066,
          "tenant": "fdb67f2e-219d-4771-b14f-a2ddc24b812b",
          "type": "joor",
          "value": "1234"
        }
      ]
    },
    "createdBy": "auth0|dd5e21fb23efe45d1761ddce",
    "name": "All About Cats",
    "requireMfa": true,
    "dateUpdated": 1594988393066,
    "role": "text"
  }
}
  • GETList Tenants
  • GETGet Tenant
  • PUTCreate Tenant Alias
  • DELETEDelete Tenant Alias

Create Tenant Alias

put

Create tenant aliases for the given tenant

Authorizations
Path parameters
tenantIdstringRequired

Unique tenant id

Example: f700d27e-64ed-4571-ae2e-8c948c1c296e
Body
Responses
201
success
application/json
400
bad request
application/json
401
unauthorized
application/json
403
forbidden
application/json
404
not found
application/json
put
PUT /api/tenant/{tenantId}/alias HTTP/1.1
Host: api.orb360.tech
Content-Type: application/json
Accept: */*
Content-Length: 44

{
  "aliases": [
    {
      "type": "joor",
      "value": "1234"
    }
  ]
}
{
  "aliases": {
    "joor": [
      {
        "alias": "joor:1234",
        "createdBy": "auth0|dd5e21fb23efe45d1761ddce",
        "dateCreated": 1594988393066,
        "dateUpdated": 1594988393066,
        "tenant": "fdb67f2e-219d-4771-b14f-a2ddc24b812b",
        "type": "joor",
        "value": "1234"
      }
    ]
  }
}

Delete Tenant Alias

delete

Delete tenant aliases for the given tenant

Authorizations
Path parameters
tenantIdstringRequired

Unique tenant id

Example: f700d27e-64ed-4571-ae2e-8c948c1c296e
Body
Responses
200
success
application/json
400
bad request
application/json
401
unauthorized
application/json
403
forbidden
application/json
404
not found
application/json
delete
DELETE /api/tenant/{tenantId}/alias HTTP/1.1
Host: api.orb360.tech
Content-Type: application/json
Accept: */*
Content-Length: 44

{
  "aliases": [
    {
      "type": "joor",
      "value": "1234"
    }
  ]
}
{
  "aliases": {
    "joor": [
      {
        "alias": "joor:1234",
        "createdBy": "auth0|dd5e21fb23efe45d1761ddce",
        "dateCreated": 1594988393066,
        "dateUpdated": 1594988393066,
        "tenant": "fdb67f2e-219d-4771-b14f-a2ddc24b812b",
        "type": "joor",
        "value": "1234"
      }
    ]
  }
}