Avatar Creators
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
default
An error occurred
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
}
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
default
An error occurred
application/json
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
}
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
default
An error occurred
application/json
delete
DELETE /v1/avatars/{projectId}/creator-configs/{creatorConfigId} HTTP/1.1
Host: api.msquared.io
Accept: */*
No content
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
default
An error occurred
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"
}
}
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
default
An error occurred
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?