You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* giteaofficial/main:
Fix CI status popup (go-gitea#20737)
Add documentation about pagination of the API (go-gitea#20740)
[skip ci] Updated translations via Crowdin
Change commit status icons to SVG (go-gitea#20736)
Add support for NuGet API keys (go-gitea#20721)
Keep download count on Container tag overwrite (go-gitea#20728)
Replace fomantic popup module with tippy.js (go-gitea#20428)
Add an option to create new issues from "/issues" page (go-gitea#20650)
Restore history button and hide add button when unable to add (go-gitea#20718)
Remove manual rollback for failed generated repositories (go-gitea#20639)
Copy file name to clipboardExpand all lines: docs/content/doc/developers/api-usage.en-us.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -105,6 +105,18 @@ curl -X POST "http://localhost:4000/api/v1/repos/test1/test1/issues" \
105
105
As mentioned above, the token used is the same one you would use in
106
106
the `token=` string in a GET request.
107
107
108
+
## Pagination
109
+
110
+
The API supports pagination. The `page` and `limit` parameters are used to specify the page number and the number of items per page. As well, the `Link` header is returned with the next, previous, and last page links if there are more than one pages. The `x-total-count` is also returned to indicate the total number of items.
You can add the source without credentials and use the [`--api-key`](https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-nuget-push) parameter when publishing packages. In this case you need to provide a [personal access token]({{< relref "doc/developers/api-usage.en-us.md#authentication" >}}).
51
+
50
52
## Publish a package
51
53
52
54
Publish a package by running the following command:
settings.tracker_url_format_desc=Gebruik de aanduidingen <code>{user}</code>, <code>{repo}</code> en <code>{index}</code> voor de gebruikersnaam, repositorynaam en kwestie-index.
0 commit comments