You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/api/rest_api/rest_api_reference/input/ibexa-content-locations.raml
+41-41Lines changed: 41 additions & 41 deletions
Original file line number
Diff line number
Diff line change
@@ -51,34 +51,34 @@ get:
51
51
description: Error - the user is not authorized to read this Location.
52
52
404:
53
53
description: Error - the Location with the given path does not exist.
54
-
#move:
55
-
# displayName: Move subtree
56
-
# description: Moves Location to a different parent. The destination can also be '/content/trash' where the Location is put into the trash. (NOTE - Be aware that the user might lose access to the item after it has been moved, for example when read access is limited by a subtree). MOVE or POST with header X-HTTP-Method-Override MOVE.
57
-
# headers:
58
-
# Destination:
59
-
# description: A parent Location resource to which the Location is moved e.g. '/api/ibexa/v2/content/locations/1/63'.
60
-
# responses:
61
-
# 201:
62
-
# description: Created. If destination is '/api/ibexa/v2/content/trash' and content only has one Location (NOTE - Like on normal subtree moves, be aware that the user might lose access to the item after it has been moved to Trash.)
63
-
# 204:
64
-
# description: No Content. If destination is '/api/ibexa/v2/content/trash' and content still has other Locations (no trash item is created).
65
-
# 401:
66
-
# description: Error - the user is not authorized to move this Location.
67
-
# 404:
68
-
# description: Error - the Location with the given ID does not exist.
69
-
#copy:
70
-
# displayName: Copy subtree
71
-
# description: Copies the subtree to a different parent. COPY or POST with header X-HTTP-Method-Override COPY.
72
-
# headers:
73
-
# Destination:
74
-
# description: A parent Location resource to which the Location is moved e.g. '/api/ibexa/v2/content/locations/1/63'.
75
-
# responses:
76
-
# 201:
77
-
# description: Created. Copied the subtree to a different parent.
78
-
# 401:
79
-
# description: Error - the user is not authorized to move this Location.
80
-
# 404:
81
-
# description: Error - the Location with the given ID does not exist.
54
+
move:
55
+
displayName: Move subtree
56
+
description: Moves Location to a different parent. The destination can also be '/content/trash' where the Location is put into the trash. (NOTE - Be aware that the user might lose access to the item after it has been moved, for example when read access is limited by a subtree). MOVE or POST with header X-HTTP-Method-Override MOVE.
57
+
headers:
58
+
Destination:
59
+
description: A parent Location resource to which the Location is moved e.g. '/api/ibexa/v2/content/locations/1/63'.
60
+
responses:
61
+
201:
62
+
description: Created. If destination is '/api/ibexa/v2/content/trash' and content only has one Location (NOTE - Like on normal subtree moves, be aware that the user might lose access to the item after it has been moved to Trash.)
63
+
204:
64
+
description: No Content. If destination is '/api/ibexa/v2/content/trash' and content still has other Locations (no trash item is created).
65
+
401:
66
+
description: Error - the user is not authorized to move this Location.
67
+
404:
68
+
description: Error - the Location with the given ID does not exist.
69
+
copy:
70
+
displayName: Copy subtree
71
+
description: Copies the subtree to a different parent. COPY or POST with header X-HTTP-Method-Override COPY.
72
+
headers:
73
+
Destination:
74
+
description: A parent Location resource to which the Location is moved e.g. '/api/ibexa/v2/content/locations/1/63'.
75
+
responses:
76
+
201:
77
+
description: Created. Copied the subtree to a different parent.
78
+
401:
79
+
description: Error - the user is not authorized to move this Location.
80
+
404:
81
+
description: Error - the Location with the given ID does not exist.
82
82
delete:
83
83
displayName: Delete subtree
84
84
description: Deletes the complete subtree for the given path. Every content item which does not have any other Location is deleted. Otherwise the deleted Location is removed from the content item. The children are recursively deleted.
@@ -125,19 +125,19 @@ get:
125
125
description: Error - the user is not authorized to update this Location.
126
126
404:
127
127
description: Error - the Location with the given ID does not exist.
128
-
#swap:
129
-
# displayName: Swap Location
130
-
# description: Swaps the Location of a content item with the given Location of another content item. SWAP or POST with header X-HTTP-Method-Override SWAP.
131
-
# headers:
132
-
# Destination:
133
-
# description: A parent Location resource to which the Location is moved e.g. '/api/ibexa/v2/content/locations/1/63'.
134
-
# responses:
135
-
# 204:
136
-
# description: No Content. Swapped the Location of a content item with the given Location of another content item.
137
-
# 401:
138
-
# description: Error - the user is not authorized to swap this Location.
139
-
# 404:
140
-
# description: Error - the Location with the given ID does not exist.
128
+
swap:
129
+
displayName: Swap Location
130
+
description: Swaps the Location of a content item with the given Location of another content item. SWAP or POST with header X-HTTP-Method-Override SWAP.
131
+
headers:
132
+
Destination:
133
+
description: A parent Location resource to which the Location is moved e.g. '/api/ibexa/v2/content/locations/1/63'.
134
+
responses:
135
+
204:
136
+
description: No Content. Swapped the Location of a content item with the given Location of another content item.
137
+
401:
138
+
description: Error - the user is not authorized to swap this Location.
139
+
404:
140
+
description: Error - the Location with the given ID does not exist.
Copy file name to clipboardExpand all lines: docs/api/rest_api/rest_api_reference/input/ibexa-content-objects.raml
+73-73Lines changed: 73 additions & 73 deletions
Original file line number
Diff line number
Diff line change
@@ -138,19 +138,19 @@ get:
138
138
description: Error - content item was not found.
139
139
401:
140
140
description: Error - the user is not authorized to delete this content item.
141
-
#copy:
142
-
# displayName: Copy content
143
-
# description: Creates new content item as a copy, under the given parent Location given in the destination header. COPY or POST with header X-HTTP-Method-Override COPY.
144
-
# headers:
145
-
# destination:
146
-
# description: A Location resource to which the content item should be copied.
147
-
# responses:
148
-
# 201:
149
-
# description: Copy created.
150
-
# 401:
151
-
# description: Error - the user is not authorized to copy this content item to the given Location.
152
-
# 404:
153
-
# description: Error - the source or destination resource does not exist.
141
+
copy:
142
+
displayName: Copy content
143
+
description: Creates new content item as a copy, under the given parent Location given in the destination header. COPY or POST with header X-HTTP-Method-Override COPY.
144
+
headers:
145
+
destination:
146
+
description: A Location resource to which the content item should be copied.
147
+
responses:
148
+
201:
149
+
description: Copy created.
150
+
401:
151
+
description: Error - the user is not authorized to copy this content item to the given Location.
152
+
404:
153
+
description: Error - the source or destination resource does not exist.
154
154
/translations/{languageCode}:
155
155
delete:
156
156
displayName: Delete translation (permanently)
@@ -183,31 +183,31 @@ get:
183
183
description: Temporary redirect.
184
184
404:
185
185
description: Error - the resource does not exist.
186
-
#copy:
187
-
# displayName: Create a draft from current version
188
-
# description: The system creates a new draft as a copy of the current version. COPY or POST with header X-HTTP-Method-Override COPY.
189
-
# headers:
190
-
# Accept:
191
-
# description: If set, the updated version is returned in XML or JSON format.
Copy file name to clipboardExpand all lines: docs/api/rest_api/rest_api_reference/input/ibexa-content-trash.raml
+15-15Lines changed: 15 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -55,21 +55,21 @@ delete:
55
55
description: Error - The user has no permission to read the item in Trash.
56
56
404:
57
57
description: Error - An item in Trash with the provided ID does not exist.
58
-
#move:
59
-
# displayName: Untrash content item
60
-
# description: Restores an item from Trash. MOVE or POST with header X-HTTP-Method-Override MOVE.
61
-
# headers:
62
-
# Destination:
63
-
# description: If the destination Location URI is provided, the item from Trash is restored under this Location, otherwise it is restored under its original parent Location.
64
-
# responses:
65
-
# 201:
66
-
# description: Item restored.
67
-
# 401:
68
-
# description: Error - The user is not authorized to restore this item from Trash.
69
-
# 403:
70
-
# description: Error - The provided parent Location does not exist.
71
-
# 404:
72
-
# description: Error - The provided item does not exist in Trash.
58
+
move:
59
+
displayName: Untrash content item
60
+
description: Restores an item from Trash. MOVE or POST with header X-HTTP-Method-Override MOVE.
61
+
headers:
62
+
Destination:
63
+
description: If the destination Location URI is provided, the item from Trash is restored under this Location, otherwise it is restored under its original parent Location.
64
+
responses:
65
+
201:
66
+
description: Item restored.
67
+
401:
68
+
description: Error - The user is not authorized to restore this item from Trash.
69
+
403:
70
+
description: Error - The provided parent Location does not exist.
71
+
404:
72
+
description: Error - The provided item does not exist in Trash.
73
73
delete:
74
74
displayName: Delete Trash item
75
75
description: Deletes the provided item from Trash.
0 commit comments