Queries
asset
Get an asset by its id
Possible Error Codes:
- ACCESS_DENIED: A permission issue is blocking this request.
- BAD_USER_INPUT: A field is not in the proper format or the ID doesn't not refer to the expected type.
- CONFLICT: The request's input has a conflict with a target entity.
- INTERNAL_SERVER_ERROR: The server was unable to fulfill the request due to an unexpected condition.
- MALFORMED_ID: At least one of the IDs is not of the proper format.
- NOT_FOUND: No entity was found with the given ID.
- OPERATION_NOT_ALLOWED: The Sandbox is not in a state that allows this operation.
- QUOTA_LIMIT_REACHED: The request cannot be completed because the user has reached their quota.
- UNAUTHORIZED: The Access Token is expired or invalid.
Template for Query:
query GetAsset($input: GetAssetInput) {
asset(input: $input) {
# Asset Fields
}
}
Template for Query Variables:
{
"input" : "<SOME-GETASSET-INPUT-TYPE-VALUE>"
}
Arguments
| input |
Possible Returns
| Value Type | Description |
|---|---|
| GetAssetPayload | Response from the _asset_ query |
