Listing releases of a repo returns no Link header

Hello, I’m using this API to get the releases of a repo, but I can’t find a Link header in the API response.

Test: https://api.github.com/repos/bitcoin/bitcoin/releases

Here is one of my request ids:

X-GitHub-Request-Id: B168:3D51:A13F88:138C05D:5BF66C4E

1 Like

Hi @ggicci,

Thanks for being here! When you send the request via curl, are you able to see the header?

No, I can’t see it.

> GET /repos/bitcoin/bitcoin/releases HTTP/1.1
> User-Agent: curl/7.29.0
> Host: api.github.com
> Accept: */*
>
< HTTP/1.1 200 OK
< Date: Fri, 30 Nov 2018 19:52:37 GMT
< Content-Type: application/json; charset=utf-8
< Content-Length: 58067
< Server: GitHub.com
< Status: 200 OK
< X-RateLimit-Limit: 60
< X-RateLimit-Remaining: 59
< X-RateLimit-Reset: 1543611157
< Cache-Control: public, max-age=60, s-maxage=60
< Vary: Accept
< ETag: "cddd12832e689930ef2728e80ad0d34d"
< X-GitHub-Media-Type: github.v3; format=json
< Access-Control-Expose-Headers: ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type
< Access-Control-Allow-Origin: *
< Strict-Transport-Security: max-age=31536000; includeSubdomains; preload
< X-Frame-Options: deny
< X-Content-Type-Options: nosniff
< X-XSS-Protection: 1; mode=block
< Referrer-Policy: origin-when-cross-origin, strict-origin-when-cross-origin
< Content-Security-Policy: default-src 'none'
< Vary: Accept-Encoding
< X-GitHub-Request-Id: 96AA:1B27:3D82C7:5337A3:5C019504
<