Avatar Creators

List all creator configs for a project

get
Path parameters
projectIdstringRequired

The ID of the Project the Creator Config belongs to

Query parameters
offsetinteger · int32Optional

The offset into queried items to return

limitinteger · int32 · max: 100Optional

The maximum number of items to return (maximum 100)

searchstringOptional

The search query to filter the results

Responses
200

Success

application/json
get
GET /v1/avatars/{projectId}/creator-configs HTTP/1.1
Host: api.msquared.io
Accept: */*
{
  "creatorConfigs": [
    {
      "id": "text",
      "name": "text",
      "catalog": {
        "mode": "text"
      },
      "allowedHost": null,
      "createdAt": "text",
      "createdBy": {
        "userId": "text",
        "type": "user"
      }
    }
  ],
  "totalResults": 1,
  "offset": 1,
  "limit": 1,
  "canWrite": true
}

Get a creator config

get
Path parameters
projectIdstringRequired

The ID of the Project the Creator Config belongs to

creatorConfigIdstringRequired

The ID of the Creator Config to get

Responses
200

Success

application/json
Responseall of
and
get
GET /v1/avatars/{projectId}/creator-configs/{creatorConfigId} HTTP/1.1
Host: api.msquared.io
Accept: */*
{
  "id": "text",
  "name": "text",
  "catalog": {
    "mode": "text"
  },
  "allowedHost": null,
  "createdAt": "text",
  "createdBy": {
    "userId": "text",
    "type": "user"
  },
  "embeddableUrl": "text",
  "canWrite": true
}

Delete a creator config

delete
Path parameters
projectIdstringRequired

The ID of the Project the Creator Config belongs to

creatorConfigIdstringRequired

The ID of the Creator Config to delete

Responses
204

Success

No content

delete
DELETE /v1/avatars/{projectId}/creator-configs/{creatorConfigId} HTTP/1.1
Host: api.msquared.io
Accept: */*

No content

Update a creator config

patch
Path parameters
projectIdstringRequired

The ID of the Project the Creator Config belongs to

creatorConfigIdstringRequired

The ID of the Creator Config to update

Body
namestringOptional
catalogone ofOptional
or
allowedHoststring | nullOptional
Responses
200

Success

application/json
patch
PATCH /v1/avatars/{projectId}/creator-configs/{creatorConfigId} HTTP/1.1
Host: api.msquared.io
Content-Type: application/json
Accept: */*
Content-Length: 60

{
  "name": "text",
  "catalog": {
    "mode": "text"
  },
  "allowedHost": null
}
{
  "id": "text",
  "name": "text",
  "catalog": {
    "mode": "text"
  },
  "allowedHost": null,
  "createdAt": "text",
  "createdBy": {
    "userId": "text",
    "type": "user"
  }
}

Create a new creator config

post
Path parameters
projectIdstringRequired

The ID of the Project the Creator Config belongs to

Body
namestringRequired
catalogone ofRequired
or
allowedHoststring | nullRequired
Responses
200

Success

application/json
post
POST /v1/avatars/{projectId}/creator-configs HTTP/1.1
Host: api.msquared.io
Content-Type: application/json
Accept: */*
Content-Length: 60

{
  "name": "text",
  "catalog": {
    "mode": "text"
  },
  "allowedHost": null
}
{
  "id": "text",
  "name": "text",
  "catalog": {
    "mode": "text"
  },
  "allowedHost": null,
  "createdAt": "text",
  "createdBy": {
    "userId": "text",
    "type": "user"
  }
}

Last updated

Was this helpful?