Paste Item
Paste items from clipboard.
Resource Information
This service uses the tomcat application on port 8080 by default. To see a list of default ports click here
The context for this API is /studio
, please prefix the API URLs with this context.
HTTP Verb
|
GET
|
URL
|
/api/1/services/api/1/clipboard/paste-item.json |
Response Formats
|
JSON |
Required Role
|
N/A
|
Parameters
Name
|
Type
|
Required
|
Description
|
---|---|---|---|
site_id
|
String
|
✓
|
Site to use
|
parentPath
|
String
|
✓
|
Item’s destination (path to paste content into)
|
Example
Request
GET .../api/1/services/api/1/clipboard/paste-item.json?site_id=mysite&parentPath=/site/website/folder2
Response
Status 200 OK
1{
2 "status":
3 [
4 "/site/website/folder2/top-books-for-young-women/index.xml"
5 ],
6 "site":"mysite"
7}
Responses
Status
|
Location
|
Response Body
|
---|---|---|
200
|
See example above.
|