Skip to content

Commit

Permalink
Update REST API reference
Browse files Browse the repository at this point in the history
  • Loading branch information
yifanmai committed Feb 1, 2023
1 parent 91d7ef9 commit 6f19898
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/REST-API-Reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -667,6 +667,7 @@ Query parameters:
- `support_redirect`: Set to 1 if the client supports bypassing the server
and redirecting to another URL (such as Blob Storage). If so, the Target-Type and
X-CodaLab-Target-Size headers will not be present in the response.

If this endpoint is called from a web browser (`Referer` header is set), this parameter
defaults to 1. Otherwise, it defaults to 0, meant for compatibility
with older clients / CLI versions that depend on the Target-Type and
Expand Down Expand Up @@ -719,6 +720,7 @@ Query parameters:
- `support_redirect`: Set to 1 if the client supports bypassing the server
and redirecting to another URL (such as Blob Storage). If so, the Target-Type and
X-CodaLab-Target-Size headers will not be present in the response.

If this endpoint is called from a web browser (`Referer` header is set), this parameter
defaults to 1. Otherwise, it defaults to 0, meant for compatibility
with older clients / CLI versions that depend on the Target-Type and
Expand Down

0 comments on commit 6f19898

Please sign in to comment.