Skip to content

Commit 73de709

Browse files
authored
Merge pull request #22916 from docker/nicks-patch-1
api: fix retry-after header docs
2 parents bc32257 + 46d76ec commit 73de709

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/reference/api/hub/latest.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ tags:
4040
- `X-RateLimit-Remaining` - The remaining amount of calls within the limit period.
4141
- `X-RateLimit-Reset` - The unix timestamp of when the remaining resets.
4242
43-
If you have hit the limit, you will receive a response status of `429` and the `X-Retry-After` header in the response.
43+
If you have hit the limit, you will receive a response status of `429` and the `Retry-After` header in the response.
4444
45-
The `X-Retry-After` header is a unix timestamp of when you can call the API again.
45+
The [`Retry-After` header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Retry-After) specifies the number of seconds to wait until you can call the API again.
4646
4747
**Note**: These rate limits are separate from anti-abuse and Docker Hub download, or pull rate limiting.
4848
To learn more about Docker Hub pull rate limiting, see [Usage and limits](https://docs.docker.com/docker-hub/usage/).

0 commit comments

Comments
 (0)