Check a shared app address

Check a shared app address

Whether slug is free for a new app, or for computerId's app: an address that computer shared before stays its own. reason says why not: invalid (fails the slug rules), reserved (a reserved word) or taken (in use, or retired by an earlier app). url is the address the app would get, or null when the slug cannot form one.

GET/api/apps/slug-check
Query parameters
slugstringrequired
computerIdstring

Request

curl
curl -X GET https://trickest.io/api/apps/slug-check \
  -H "Authorization: Token $TRICKEST_TOKEN"

Responses

200Availability
availablebooleanrequired
reasonenum

One of: invalid, reserved, taken

urlstringrequired
400Bad Request – validation error or malformed input
codestringrequired
messagestringrequired
detailsobject

Field-level detail when the error is a validation failure.

401Unauthorized – missing or expired token
codestringrequired
messagestringrequired
detailsobject

Field-level detail when the error is a validation failure.

403Forbidden – insufficient permissions
codestringrequired
messagestringrequired
detailsobject

Field-level detail when the error is a validation failure.

429Too Many Requests – rate limited
codestringrequired
messagestringrequired
detailsobject

Field-level detail when the error is a validation failure.

500Internal Server Error
codestringrequired
messagestringrequired
detailsobject

Field-level detail when the error is a validation failure.