Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions docs/specification/common/location/rest.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,20 @@ Maps to the [Location Lookup](lookup.md) capability. See the
}
```

## HTTP Headers

The following headers are defined for the HTTP binding and apply to all
operations unless otherwise noted.

{{ header_fields('search_locations', 'common/rest.openapi.json') }}

### Specific Header Requirements

* **UCP-Agent**: All requests **MUST** include the `UCP-Agent` header

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @sakinaroufid 👋🏼 , I opened #819 which takes on the cross-binding cleanup you flagged here. Instead of copying the UCP-Agent again, it adds a header_requirements macro as a single source and switches catalog/cart/checkout/order to it (also fixes order's drifted wording).

If it's easier to fold in here, you can cherry-pick the commit onto this branch. Then this section becomes just:

### Specific Header Requirements

{{ header_requirements('ucp_agent') }}

Otherwise, PRs can adopt based on whichever lands first.

containing the platform profile URI using Dictionary Structured Field syntax
([RFC 8941](https://datatracker.ietf.org/doc/html/rfc8941){target="_blank"}).
Format: `profile="https://platform.example/profile"`.

## Error Handling

UCP uses a two-layer error model separating transport-level errors from business outcomes.
Expand Down
Loading