mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 19:46:01 +01:00
docs: update openapi schema to refer to try.nodebb.org instead of example.org
This commit is contained in:
@@ -14,8 +14,8 @@ get:
|
|||||||
name: resource
|
name: resource
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
description: A URL to query for potential ActivityPub resource
|
description: A URL-encoded address to query for potential ActivityPub resource
|
||||||
example: 'https://example.org/ap'
|
example: 'https://try.nodebb.org/uid/1'
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: Sent if the `/api` prefix is used. The `X-Redirect` header is sent with the redirection target.
|
description: Sent if the `/api` prefix is used. The `X-Redirect` header is sent with the redirection target.
|
||||||
@@ -24,7 +24,7 @@ get:
|
|||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
"307":
|
"307":
|
||||||
description: Redirect the user to the local representation or original URL.
|
description: Redirect the user to the local representation or /outgoing interstitial page for original URL.
|
||||||
headers:
|
headers:
|
||||||
Location:
|
Location:
|
||||||
schema:
|
schema:
|
||||||
|
|||||||
Reference in New Issue
Block a user