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/content-type/creating-co.md
+13-14Lines changed: 13 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,9 +16,9 @@ This is done either directly through the API or via the convenient Content Entry
16
16
Content Management Platform.
17
17
18
18
!!! note
19
-
You will need to use your `Application Read and write API KEY` to perform this action
20
-
or `User API KEY` scoped to accept create on the Content Type you wish to add.
21
-
Read more about [API keys and scoped API keys](/docs/API/).
19
+
You will need to use your `Application Read and write API KEY` to perform this action
20
+
or `User API KEY` scoped to accept create on the Content Type you wish to add.
21
+
Read more about [API keys and scoped API keys](/docs/API/).
22
22
23
23
## Creating Content Objects through the API
24
24
@@ -39,16 +39,16 @@ to the supporting endpoint `https://api.flotiq.com/api/v1/content/{name}`
39
39
{ data-search-exclude }
40
40
41
41
!!! note
42
-
The maximum size of a single CO in the system is 1MB. If your project requires a larger CO size, please contact Flotiq
43
-
support.
42
+
The maximum size of a single CO in the system is 1MB. If your project requires a larger CO size, please contact Flotiq
43
+
support.
44
44
45
45
!!! note
46
-
You can send custom `id` in the object data to assign a particular `id` to the object.
47
-
Id must match a regular expression `^[a-zA-Z0-9-_.,:=!#$%&(\`\’\{\}\"]*$`.
46
+
You can send custom `id` in the object data to assign a particular `id` to the object.
47
+
Id must match a regular expression `^[a-zA-Z0-9-_.,:=!#$%&(\`\’\{\}\"]*$`.
48
48
Random `id` will be assigned when the `id` property is not present in the object.
49
49
50
50
!!! note
51
-
Content object's `id` in endpoint `https://api.flotiq.com/api/v1/content/contenttype/{id}` is case insensitive.
51
+
Content object's `id` in endpoint `https://api.flotiq.com/api/v1/content/contenttype/{id}` is case insensitive.
52
52
53
53
!!! Example
54
54
@@ -1055,7 +1055,7 @@ All objects must meet the same conditions as when adding a single object.
1055
1055
The only difference is an array of objects in the request body instead of one object.
1056
1056
1057
1057
!!! note
1058
-
In the next examples we assume that we have an object with id `existing-id-1` in our system.
1058
+
In the next examples we assume that we have an object with id `existing-id-1` in our system.
1059
1059
1060
1060
Updating one blog post and adding one new:
1061
1061
@@ -1600,8 +1600,7 @@ Response parameters:
1600
1600
| errors | array of errors in the elements, errors are objects containing the id of the object and list of errors, present when there are no duplications in data |
1601
1601
| data | listing keys containing duplications (see example above), present only when there are duplications in data or batch_limit exceeded |
1602
1602
1603
-
[Register to start creating your content objects](https://editor.flotiq.com/register?plan=1ef44daa-fdc3-6790-960e-cb20a0848bfa){:
1604
-
.flotiq-button}
1603
+
[Register to start creating your content objects](https://editor.flotiq.com/register?plan=1ef44daa-fdc3-6790-960e-cb20a0848bfa){:.flotiq-button}
1605
1604
1606
1605
[^1]: Number of available Content Objects depends on the chosen subscription plan. Check pricing and limits on
1607
1606
the [Flotiq Pricing page](https://flotiq.com/pricing){:target="_blank"}
@@ -1624,9 +1623,9 @@ the [Flotiq Pricing page](https://flotiq.com/pricing){:target="_blank"}
Copy file name to clipboardExpand all lines: docs/API/content-type/deleting-co.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -260,6 +260,10 @@ curl -X POST "https://api.flotiq.com/api/v1/content/blogposts/batch-delete" --he
260
260
```
261
261
{ data-search-exclude }
262
262
263
+
## Deleting via Purge endpoint
264
+
265
+
It is possible to remove all objects for a given content type. To learn more, see [Deleting Content Type](/docs/API/content-type/deleting-ctd#deleting-content-types-via-purge-endpoint).
266
+
263
267
## Restoring deleted objects
264
268
265
269
Deleted content objects are soft-deleted and retained for **60 days** before being permanently removed.
0 commit comments