- Notifications
You must be signed in to change notification settings - Fork676
Closed
Description
I would like to access the job token allow list through the Gitlab API.
Docs:
API endpoint:
GET/POST/DELETE /projects/:id/job_token_scope/allowlist
I currently have the following manager to access the job token scope allow list:
class ProjectJobTokenScopeAllowlistManager( gitlab.mixins.ListMixin, gitlab.mixins.CreateMixin, gitlab.mixins.DeleteMixin, gitlab.base.RESTManager,): _path = "/projects/{project_id}/job_token_scope/allowlist" _obj_cls = gitlab.v4.objects.Project _from_parent_attrs = {"project_id": "id"} _create_attrs = gitlab.types.RequiredOptional(required=("target_project_id",))
Metadata
Metadata
Assignees
Labels
No labels