Skip to content

List a team's member API page parameter is 0-based (should be 1-based) #24747

Closed
@yamadayutaka

Description

@yamadayutaka

Description

In the API specification, page is supposed to be specified as 1-based.

https://try.gitea.io/api/swagger#/organization/orgListTeamMembers

image

However, it seems to be implemented with 0-based. (Please see screenshots)

Gitea Version

1.19.3

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

Target Organization/Team

image

Result when page=1 is specified

image

Result when page=0 is specified

image

Git Version

No response

Operating System

No response

How are you running Gitea?

Installed with Helm chart and running on Kubernetes.

Override values

service:
  http:
    type: LoadBalancer

Install command

helm install gitea gitea-charts/gitea --version 8.3.0 -f override-values.yaml

Database

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedtype/bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions