Pagination - CI/CD用語集の定義
pagination とは、大きなAPIの結果セットをページに分割し、少しずつ返すことです。offset paginationはpageとper_pageを使い、cursor paginationは次のページを指す不透明なトークン (多くはLinkヘッダー経由) を返します。
CIでは
GitHub APIからすべてのworkflow実行やすべてのartifactを一覧するには、Link: <...>; rel="next"ヘッダーがなくなるまでそれをたどる必要があります。さもないと、データのページが黙って見落とされます。
関連ガイド
REST API - CI/CD Glossary DefinitionREST API: A REST API is a web interface that exposes resources at URLs and is operated with standard HTTP met…
Rate Limit Header - CI/CD Glossary DefinitionRate Limit Header: A rate limit header is an HTTP response header that reports your quota usage, commonly `X-…
HTTP Status Code - CI/CD Glossary DefinitionHTTP Status Code: An HTTP status code is a three-digit number a server returns to summarize the result: 2xx s…