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-checkQuery parameters
slugstringrequiredcomputerIdstringRequest
curl
curl -X GET https://trickest.io/api/apps/slug-check \
-H "Authorization: Token $TRICKEST_TOKEN"Responses
200Availability
availablebooleanrequiredreasonenumOne of: invalid, reserved, taken
urlstringrequired400Bad Request – validation error or malformed input
codestringrequiredmessagestringrequireddetailsobjectField-level detail when the error is a validation failure.
401Unauthorized – missing or expired token
codestringrequiredmessagestringrequireddetailsobjectField-level detail when the error is a validation failure.
403Forbidden – insufficient permissions
codestringrequiredmessagestringrequireddetailsobjectField-level detail when the error is a validation failure.
429Too Many Requests – rate limited
codestringrequiredmessagestringrequireddetailsobjectField-level detail when the error is a validation failure.
500Internal Server Error
codestringrequiredmessagestringrequireddetailsobjectField-level detail when the error is a validation failure.