Conversation
Preview of modified filesPreview of modified Markdown: |
|
|
||
| ### Location header | ||
|
|
||
| For example, [creating content](../rest_api_reference/rest_api_reference.html#managing-content-create-content-type) and [getting a content item's current version](/api/rest_api/rest_api_reference/rest_api_reference.html#tag/Objects/operation/api_contentobjects_contentIdcurrentversion_get) |
There was a problem hiding this comment.
Should also be fixed on 4.6, the text is "creating content" but it target "create content type"
|
| ## Rate limiting | ||
|
|
||
| To prevent malicious actors from trying all the possible discount code combinations using brute-force attacks, the [`/discounts_codes/{cartIdentifier}/apply` endpoint](/api/rest_api/rest_api_reference/rest_api_reference.html#discount-codes-apply-discount-to-cart) is rate limited using the [Rate Limiter Symfony component]([[= symfony_doc =]]/rate_limiter.html). | ||
| To prevent malicious actors from trying all the possible discount code combinations using brute-force attacks, the [`/discounts_codes/{cartIdentifier}/apply` endpoint](https://doc.ibexa.co/en/4.6/api/rest_api/rest_api_reference/rest_api_reference.html#discount-codes-apply-discount-to-cart) is rate limited using the [Rate Limiter Symfony component]([[= symfony_doc =]]/rate_limiter.html). |
There was a problem hiding this comment.
Was documented only in RAML. See ibexa/discounts-codes#47 for an OpenAPI documentation.
| - uses the [HTTP basic authentication](rest_api_authentication.md#http-basic-authentication), if it's enabled, | ||
| - creates a draft in the /Media/Images folder by posting (`POST`) data to [`/content/objects`](/api/rest_api/rest_api_reference/rest_api_reference.html#tag/Objects/operation/api_contentobjects_post), | ||
| - and, publishes (`PUBLISH`) the draft through [`/content/objects/{contentId}/versions/{versionNo}`](../rest_api_reference/rest_api_reference.html#managing-content-publish-a-content-version). | ||
| - and, publishes (`PUBLISH`) the draft through [`/content/objects/{contentId}/versions/{versionNo}`](https://doc.ibexa.co/en/4.6/api/rest_api/rest_api_reference/rest_api_reference.html#managing-content-publish-a-content-version). |
There was a problem hiding this comment.
Typical custom method that wasn't documented at API Platform introduction time because not existing in OpenAPI 3.1.
But OpenAPI 3.2 supports it: https://learn.openapis.org/specification/http-methods.html#additional-operations-for-custom-methods
This is something to investigate on API Platform side.



Fix links to the REST API Reference. Two cases:
COPYorPUBLISHChecklist