You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
matrix-spec/data/api/client-server
Dan Callahan 48d8f7202d
Add HTTP 403 to possible profile responses (#3530)
* Add HTTP 403 to possible profile responses

Some servers may not allow profile lookup over federation, and thus
respond to GET /_matrix/client/v3/profile/{userId} with an HTTP 403.

For example, Synapse can be configured to behave in this way by setting:

    allow_profile_lookup_over_federation=false

Thus, this behavior already exists in the wild, and may cause issues for
clients such as https://github.com/vector-im/element-web/issues/17269.

Synapse could alter its behavior and return an HTTP 404 in these cases,
but amending the Spec seems preferable to align with extant behavior.
Further, allowing HTTP 403 gives clients more specific information as to
why a request has failed, enabling more precise error handling.

Signed-off-by: Dan Callahan <danc@element.io>

* Update changelogs/client_server/newsfragments/3530.clarification

Co-authored-by: Travis Ralston <travpc@gmail.com>

* Annotate misc data about error

Co-authored-by: Travis Ralston <travpc@gmail.com>
Co-authored-by: Travis Ralston <travisr@matrix.org>
4 years ago
..
definitions Definition of "Standard Identifier Format" (#3171) 4 years ago
account-data.yaml Update client-server API endpoints to move from r0 to v3 (plus whitespace fixes) (#3421) 4 years ago
admin.yaml Update client-server API endpoints to move from r0 to v3 (plus whitespace fixes) (#3421) 4 years ago
administrative_contact.yaml Update client-server API endpoints to move from r0 to v3 (plus whitespace fixes) (#3421) 4 years ago
appservice_room_directory.yaml Update client-server API endpoints to move from r0 to v3 (plus whitespace fixes) (#3421) 4 years ago
banning.yaml Start annotating which version of the spec added a thing (#3425) 4 years ago
capabilities.yaml Update client-server API endpoints to move from r0 to v3 (plus whitespace fixes) (#3421) 4 years ago
content-repo.yaml Update client-server API endpoints to move from r0 to v3 (plus whitespace fixes) (#3421) 4 years ago
create_room.yaml Add GitHub Action to check spelling (#3591) 4 years ago
cross_signing.yaml Start annotating which version of the spec added a thing (#3425) 4 years ago
device_management.yaml Update client-server API endpoints to move from r0 to v3 (plus whitespace fixes) (#3421) 4 years ago
directory.yaml Update client-server API endpoints to move from r0 to v3 (plus whitespace fixes) (#3421) 4 years ago
event_context.yaml Update client-server API endpoints to move from r0 to v3 (plus whitespace fixes) (#3421) 4 years ago
filter.yaml Update client-server API endpoints to move from r0 to v3 (plus whitespace fixes) (#3421) 4 years ago
inviting.yaml Start annotating which version of the spec added a thing (#3425) 4 years ago
joining.yaml Start annotating which version of the spec added a thing (#3425) 4 years ago
key_backup.yaml OpenAPI: Add missing `required` flag in `getRoomKeys` (#3509) 4 years ago
keys.yaml Start annotating which version of the spec added a thing (#3425) 4 years ago
kicking.yaml Update client-server API endpoints to move from r0 to v3 (plus whitespace fixes) (#3421) 4 years ago
knocking.yaml Start annotating which version of the spec added a thing (#3425) 4 years ago
leaving.yaml Start annotating which version of the spec added a thing (#3425) 4 years ago
list_joined_rooms.yaml Update client-server API endpoints to move from r0 to v3 (plus whitespace fixes) (#3421) 4 years ago
list_public_rooms.yaml Update client-server API endpoints to move from r0 to v3 (plus whitespace fixes) (#3421) 4 years ago
login.yaml Update client-server API endpoints to move from r0 to v3 (plus whitespace fixes) (#3421) 4 years ago
logout.yaml Update client-server API endpoints to move from r0 to v3 (plus whitespace fixes) (#3421) 4 years ago
message_pagination.yaml typos: Corrected typos in message_pagination.yaml (#3495) 4 years ago
notifications.yaml Remove definition of Event for `/notifications` (#3525) 4 years ago
old_sync.yaml Add GitHub Action to check spelling (#3591) 4 years ago
openid.yaml Update client-server API endpoints to move from r0 to v3 (plus whitespace fixes) (#3421) 4 years ago
peeking_events.yaml Update client-server API endpoints to move from r0 to v3 (plus whitespace fixes) (#3421) 4 years ago
presence.yaml Update client-server API endpoints to move from r0 to v3 (plus whitespace fixes) (#3421) 4 years ago
profile.yaml Add HTTP 403 to possible profile responses (#3530) 4 years ago
pusher.yaml Update client-server API endpoints to move from r0 to v3 (plus whitespace fixes) (#3421) 4 years ago
pushrules.yaml Update client-server API endpoints to move from r0 to v3 (plus whitespace fixes) (#3421) 4 years ago
read_markers.yaml Update client-server API endpoints to move from r0 to v3 (plus whitespace fixes) (#3421) 4 years ago
receipts.yaml Update client-server API endpoints to move from r0 to v3 (plus whitespace fixes) (#3421) 4 years ago
redaction.yaml Update client-server API endpoints to move from r0 to v3 (plus whitespace fixes) (#3421) 4 years ago
registration.yaml Update client-server API endpoints to move from r0 to v3 (plus whitespace fixes) (#3421) 4 years ago
report_content.yaml Update client-server API endpoints to move from r0 to v3 (plus whitespace fixes) (#3421) 4 years ago
room_initial_sync.yaml Add GitHub Action to check spelling (#3591) 4 years ago
room_send.yaml Update client-server API endpoints to move from r0 to v3 (plus whitespace fixes) (#3421) 4 years ago
room_state.yaml Update client-server API endpoints to move from r0 to v3 (plus whitespace fixes) (#3421) 4 years ago
room_upgrades.yaml Update client-server API endpoints to move from r0 to v3 (plus whitespace fixes) (#3421) 4 years ago
rooms.yaml Update client-server API endpoints to move from r0 to v3 (plus whitespace fixes) (#3421) 4 years ago
search.yaml Update client-server API endpoints to move from r0 to v3 (plus whitespace fixes) (#3421) 4 years ago
sso_login_redirect.yaml Start annotating which version of the spec added a thing (#3425) 4 years ago
sync.yaml Update client-server API endpoints to move from r0 to v3 (plus whitespace fixes) (#3421) 4 years ago
tags.yaml Update client-server API endpoints to move from r0 to v3 (plus whitespace fixes) (#3421) 4 years ago
third_party_lookup.yaml Update client-server API endpoints to move from r0 to v3 (plus whitespace fixes) (#3421) 4 years ago
third_party_membership.yaml Update client-server API endpoints to move from r0 to v3 (plus whitespace fixes) (#3421) 4 years ago
to_device.yaml Update client-server API endpoints to move from r0 to v3 (plus whitespace fixes) (#3421) 4 years ago
typing.yaml Update client-server API endpoints to move from r0 to v3 (plus whitespace fixes) (#3421) 4 years ago
users.yaml Update client-server API endpoints to move from r0 to v3 (plus whitespace fixes) (#3421) 4 years ago
versions.yaml Describe new global specification versioning (#3420) 4 years ago
voip.yaml Update client-server API endpoints to move from r0 to v3 (plus whitespace fixes) (#3421) 4 years ago
wellknown.yaml Change RST code formatting markup to Markdown 4 years ago
whoami.yaml Start annotating which version of the spec added a thing (#3425) 4 years ago