curl --request POST \
--url https://api.pocketenv.io/xrpc/io.pocketenv.sandbox.pushDirectory \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"sandboxId": "<string>",
"directoryPath": "<string>"
}
'{
"uuid": "<string>"
}curl --request POST \
--url https://api.pocketenv.io/xrpc/io.pocketenv.sandbox.pushDirectory \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"sandboxId": "<string>",
"directoryPath": "<string>"
}
'{
"uuid": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
OK
The UUID of the pushed directory in cp storage. This can be used to reference the directory in other API calls, such as creating a file from the directory or sharing the directory with another sandbox.
Was this page helpful?