Skip to content

Commit

Permalink
gateway: car-* request query parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
hacdias authored and lidel committed Apr 17, 2024
1 parent 11100a7 commit b94f597
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/http-gateways/path-gateway.md
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,18 @@ Only used on CAR requests, same as :ref[dag-scope] from :cite[trustless-gateway]

Only used on CAR requests, same as :ref[entity-bytes] from :cite[trustless-gateway].

### `car-version` (request query parameter)

Only used on CAR requests, same as :ref[car-version] from :cite[trustless-gateway].

### `car-order` (request query parameter)

Only used on CAR requests, same as :ref[car-order] from :cite[trustless-gateway].

### `car-dups` (request query parameter)

Only used on CAR requests, same as :ref[car-dups] from :cite[trustless-gateway].

# HTTP Response

## Response Status Codes
Expand Down
15 changes: 15 additions & 0 deletions src/http-gateways/trustless-gateway.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,21 @@ returned:
returned to the client, the HTTP status code has already been sent to the
client.

### :dfn[`car-version`] (request query parameter)

Only used on CAR requests, it is the same as [CAR version](#car-version) content
type parameter. In case both are present, the value in the HTTP Header has priority.

### :dfn[`car-order`] (request query parameter)

Only used on CAR requests, it is the same as [CAR `order`](#car-order-content-type-parameter)
content type parameter. In case both are present, the value in the HTTP Header has priority.

### :dfn[`car-dups`] (request query parameter)

Only used on CAR requests, it is the same as [CAR `dups`](#car-dups-content-type-parameter)
content type parameter. In case both are present, the value in the HTTP Header has priority.

# HTTP Response

Below MUST be implemented **in addition** to "HTTP Response" of :cite[path-gateway].
Expand Down

0 comments on commit b94f597

Please sign in to comment.