Skip to content

Commit 7e5b5c2

Browse files
committed
rest_api_usage/*.md: Update some REST API Ref links
1 parent 0d75776 commit 7e5b5c2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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.

0 commit comments

Comments
 (0)