Mutations
restoreProject
Restore a project in a hub.
Template for Query:
mutation RestoreProject($input: restoreProjectInput!){
restoreProject(input: $input) {
#RestoreProject Fields
}
}
Template for Query Variables:
{
"input" : "<SOME-RESTOREPROJECT-INPUT-TYPE-SCALAR-VALUE>"
}
Arguments
input* restoreProjectInput non-null | Input for restoring a project in a hub. |
* Required
Possible Returns
Value Type | Description |
---|---|
RestoreProjectPayload | Return payload for restoring a project operation. |
Examples
Example 1
Restore a archived project
Query:
mutation RestoreProject($input: RestoreProjectInput!) {
restoreProject(input: $input) {
project {
id
}
}
}
Query Variables:
{
"input": {
"projectId": "urn:adsk.workspace:beta.project:a69a9462-c5a1-4525-927a-e6d088573529"
}
}
Response:
{
"data": {
"restoreProject": {
"project": {
"id": "urn:adsk.workspace:beta.project:a69a9462-c5a1-4525-927a-e6d088573529"
}
}
}
}
Show More