Skip to content

Commit

Permalink
Add clarification for domain/uri in API Instance response
Browse files Browse the repository at this point in the history
Since `LOCAL_DOMAIN` and `WEB_DOMAIN` can be separate, as an API user I
needed to be aware of the distinction when using this property.
  • Loading branch information
daprice committed Jan 11, 2024
1 parent 09ac075 commit bc16b89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion content/en/entities/Instance.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ aliases: [

### `domain` {#domain}

**Description:** The domain name of the instance.\
**Description:** The domain name of the instance. Corresponds to the configured `LOCAL_DOMAIN`, which is used for account handles, and is not necessarily the same as `WEB_DOMAIN` where the Mastodon API and web interface are hosted.\
**Type:** String\
**Version history:**\
4.0.0 - added
Expand Down
2 changes: 1 addition & 1 deletion content/en/entities/V1_Instance.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ aliases: [

### `uri` {#uri}

**Description:** The domain name of the instance.\
**Description:** The domain name of the instance. Corresponds to the configured `LOCAL_DOMAIN`, which is used for account handles, and is not necessarily the same as `WEB_DOMAIN` where the Mastodon API and web interface are hosted.\
**Type:** String\
**Version history:**\
1.1.0 - added
Expand Down

0 comments on commit bc16b89

Please sign in to comment.