Skip to content

Need to change path to lint API #7

Open
@ofalk

Description

@ofalk

Reference:

url = urljoin(base_url, "/api/v4/ci/lint")

The lint API endpoint is now available under the specific project:
https://docs.gitlab.com/ee/api/lint.html

So this should look more like:

url = urljoin(base_url, "/api/v4/projects/:id/ci/lint")

Where id is either the project id or the urlencoded project name; ie. <user_or_group>%2F<project_name>.

I'm not sure if the project id or project name can be easily (automatically) obtained, I think it would be fair to add this as an additional parameter - or just provide the full URL - either way would be fine IMHO.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions