Skip to content

Commit 7c32194

Browse files
authored
5.0: Update REST API Ref links (#2835)
* recent_activity.md: Update REST API Ref link * cart/*.md: Update REST API Ref link * order_management/*.md: Update REST API Ref link * payment/*.md: Update REST API Ref link * content_management/**/*.md: Update REST API Ref link * product_api.md: Update REST API Ref link * ibexa_dxp_v4.6.md: Update REST API Ref link * rest_api_usage/*.md: Update some REST API Ref links * customer_portal_guide.md: Update REST API Ref link
1 parent 6b6ed78 commit 7c32194

File tree

18 files changed

+28
-28
lines changed

18 files changed

+28
-28
lines changed

docs/administration/recent_activity/recent_activity.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,4 +262,4 @@ Thanks to the previous subscriber, the related object is available at display ti
262262
## REST API
263263

264264
You can browse activity logs with REST API.
265-
For more information, see the [REST API reference](../../api/rest_api/rest_api_reference/rest_api_reference.html#monitoring-activity).
265+
For more information, see the [REST API reference](/api/rest_api/rest_api_reference/rest_api_reference.html#tag/Activity-Log).

docs/api/rest_api/rest_api_usage/rest_requests.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ This script:
163163

164164
- receives an image path and optionally a name as command-line arguments,
165165
- uses the [HTTP basic authentication](rest_api_authentication.md#http-basic-authentication), if it's enabled,
166-
- creates a draft in the /Media/Images folder by posting (`POST`) data to [`/content/objects`](../rest_api_reference/rest_api_reference.html#managing-content-create-content-item),
166+
- 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),
167167
- and, publishes (`PUBLISH`) the draft through [`/content/objects/{contentId}/versions/{versionNo}`](../rest_api_reference/rest_api_reference.html#managing-content-publish-a-content-version).
168168

169169
=== "XML"

docs/api/rest_api/rest_api_usage/rest_responses.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ Those example `Accept-Path` headers above indicate that the content could be mod
9292

9393
### Location header
9494

95-
For example, [creating content](../rest_api_reference/rest_api_reference.html#managing-content-create-content-type) and [getting a content item's current version](../rest_api_reference/rest_api_reference.html#managing-content-get-current-version)
95+
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)
9696
both send a `Location` header to provide you with the requested resource's ID.
9797

9898
Those particular headers generally match a specific list of HTTP response codes.

docs/commerce/cart/cart.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ It covers actions related to the creation and handling of a list of products tha
1111
The component exposes the following:
1212

1313
- [PHP API](cart_api.md) that allows for managing carts and cart entries, or checking cart validity
14-
- [REST API](../../api/rest_api/rest_api_reference/rest_api_reference.html#managing-commerce-carts) that helps get cart and products information over HTTP
14+
- [REST API](/api/rest_api/rest_api_reference/rest_api_reference.html#tag/Cart) that helps get cart and products information over HTTP
1515
- [Twig functions](cart_twig_functions.md) that enable checking whether product can be added to cart and formatting the price
1616

1717
There is no specific configuration related to the cart component.

docs/commerce/cart/cart_api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ edition: commerce
77

88
!!! tip "Cart REST API"
99

10-
To learn how to manage carts with the REST API, see the [REST API reference](../../api/rest_api/rest_api_reference/rest_api_reference.html#managing-commerce-carts).
10+
To learn how to manage carts with the REST API, see the [REST API reference](/api/rest_api/rest_api_reference/rest_api_reference.html#tag/Cart).
1111

1212
To get carts and work with them, use the `Ibexa\Contracts\Cart\CartServiceInterface` interface.
1313

docs/commerce/order_management/order_management.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ From the development perspective, the component enables customization of the ord
1313
The component exposes the following:
1414

1515
- [PHP API](order_management_api.md) that allows for managing orders
16-
- [REST API](../../api/rest_api/rest_api_reference/rest_api_reference.html#orders) that helps get order information over HTTP
16+
- [REST API](/api/rest_api/rest_api_reference/rest_api_reference.html#tag/Orders) that helps get order information over HTTP
1717

1818
### Order management service
1919

docs/commerce/order_management/order_management_api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ month_change: false
88

99
!!! tip "Order management REST API"
1010

11-
To learn how to manage orders with the REST API, see the [REST API reference](../../api/rest_api/rest_api_reference/rest_api_reference.html#orders).
11+
To learn how to manage orders with the REST API, see the [REST API reference](/api/rest_api/rest_api_reference/rest_api_reference.html#tag/Orders).
1212

1313
To get orders and manage them, use the [`Ibexa\Contracts\OrderManagement\OrderServiceInterface`](/api/php_api/php_api_reference/classes/Ibexa-Contracts-OrderManagement-OrderServiceInterface.html) interface.
1414

docs/commerce/payment/payment.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ From the development perspective, the component enables [customization of the pa
1818
The component exposes the following APIs:
1919

2020
- [Payment method PHP API](payment_method_api.md) that allows for managing payment methods
21-
- [Payment method REST API](../../api/rest_api/rest_api_reference/rest_api_reference.html#payment-methods) that helps manage payment methods over HTTP
21+
- [Payment method REST API](/api/rest_api/rest_api_reference/rest_api_reference.html#tag/Payments) that helps manage payment methods over HTTP
2222
- [Payment PHP API](payment_api.md) that allows for managing payments
2323

2424
### Services
2525

2626
The Payment package provides the following services, which are entry points for calling backend APIs:
2727

2828
- `Ibexa\Contracts\Payment\PaymentMethodServiceInterface`
29-
- `Ibexa\Contracts\Payment\PaymentServiceInterface`
29+
- `Ibexa\Contracts\Payment\PaymentServiceInterface`

docs/commerce/payment/payment_method_api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ edition: commerce
77

88
!!! tip "Order management REST API"
99

10-
To learn how to manage payment methods with the REST API, see the [REST API reference](../../api/rest_api/rest_api_reference/rest_api_reference.html#payment-methods).
10+
To learn how to manage payment methods with the REST API, see the [REST API reference](/api/rest_api/rest_api_reference/rest_api_reference.html#tag/Payments).
1111

1212
To get payment methods and manage them, use the `Ibexa\Contracts\Payment\PaymentMethodServiceInterface` interface.
1313

docs/content_management/content_api/browsing_content.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The service should be [injected into the constructor of your command or controll
1010

1111
!!! tip "Content REST API"
1212

13-
To learn how to load content items using the REST API, see [REST API reference](../../api/rest_api/rest_api_reference/rest_api_reference.html#managing-content-load-content).
13+
To learn how to load content items using the REST API, see [REST API reference](/api/rest_api/rest_api_reference/rest_api_reference.html#tag/Objects/operation/api_contentobjects_contentId_get).
1414

1515
!!! tip "Console commands"
1616

0 commit comments

Comments
 (0)