Skip to content
GitHub
Try the demo

Writing

Restore Copy

POST
/boards/{board_id}/copies/{copy_id}/restore
curl --request POST \
--url http://localhost:3000/api/v1/boards/example/copies/example/restore \
--header 'Authorization: Bearer <token>'

Puts the board back as the copy has it, for everyone at once. The board as it is now is saved first, so a restore can be undone the same way. Needs a key with full access.

board_id
required
Board Id
string
copy_id
required
Copy Id
string

Successful Response

No key, or a key that stopped working

Media typeapplication/json
Error

Every error of v1; clients must ignore codes they do not know.

object
error
required
ErrorDetail
object
code
required
Code
string
message
required
Message
string

Example generated

{
"error": {
"code": "example",
"message": "example"
}
}

The key may not do this, or keys are switched off

Media typeapplication/json
Error

Every error of v1; clients must ignore codes they do not know.

object
error
required
ErrorDetail
object
code
required
Code
string
message
required
Message
string

Example generated

{
"error": {
"code": "example",
"message": "example"
}
}

Not found, or not among what the key reaches

Media typeapplication/json
Error

Every error of v1; clients must ignore codes they do not know.

object
error
required
ErrorDetail
object
code
required
Code
string
message
required
Message
string

Example generated

{
"error": {
"code": "example",
"message": "example"
}
}

The request does not match the schema

Media typeapplication/json
Error

Every error of v1; clients must ignore codes they do not know.

object
error
required
ErrorDetail
object
code
required
Code
string
message
required
Message
string

Example generated

{
"error": {
"code": "example",
"message": "example"
}
}

Over a budget; see Retry-After

Media typeapplication/json
Error

Every error of v1; clients must ignore codes they do not know.

object
error
required
ErrorDetail
object
code
required
Code
string
message
required
Message
string

Example generated

{
"error": {
"code": "example",
"message": "example"
}
}