Workspace resource move check
get/projects/{projectId}/resources/{type}/{rid}/move-check
What moving a resource to another project of the same organisation would move, and what stops it. Changes nothing. A document is {collection}~{id}; the other types are prompt_set, asset, product, connection and agent, each by its id. info lists what moving changes without stopping it.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
workspace:read- Sdk
workspace.resource.moveCheck- Cli
workspace resource move check
Parameters
- projectIdstring (uuid)requiredIn the path
- typestringrequiredIn the path
- ridstringrequiredIn the path
- toProjectstring (uuid)requiredIn the query
Responses
- 200application/jsonSuccess
- movablebooleanrequired
- moveslist of objectrequired
- tablestringrequired
- rowsnumberrequired
- refusalslist of objectrequired
- codestringrequired
- sentencestringrequired
- itemslist of string
- infolist of objectrequired
- codestringrequired
- sentencestringrequired
- countnumber
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring