{ "opencollection": "1.0.0", "info": { "name": "GitLab access_requests namespaces API", "version": "v4" }, "items": [ { "info": { "name": "namespaces", "type": "folder" }, "items": [ { "info": { "name": "Get namespace by ID", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/v4/namespaces/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "ID or URL-encoded path of the namespace" } ] }, "docs": "Get a namespace by ID" }, { "info": { "name": "Update a namespace", "type": "http" }, "http": { "method": "PUT", "url": "{{baseUrl}}/api/v4/namespaces/:id", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Deprecated in 17.8" }, { "info": { "name": "getApiV4NamespacesIdGitlabSubscription", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/v4/namespaces/:id/gitlab_subscription", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Returns the subscription for the namespace" }, { "info": { "name": "Creates a storage limit exclusion for a Namespace", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/v4/namespaces/:id/storage/limit_exclusion", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Creates a Namespaces::Storage::LimitExclusion" }, { "info": { "name": "Removes a storage limit exclusion for a Namespace", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/api/v4/namespaces/:id/storage/limit_exclusion", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Removes a Namespaces::Storage::LimitExclusion" }, { "info": { "name": "Retrieve all limit exclusions", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/v4/namespaces/storage/limit_exclusions", "params": [ { "name": "page", "value": "1", "type": "query", "description": "Current page number" }, { "name": "per_page", "value": "20", "type": "query", "description": "Number of items per page" } ] }, "docs": "Gets all records for namespaces that have been excluded" }, { "info": { "name": "List namespaces", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/v4/namespaces", "params": [ { "name": "search", "value": "", "type": "query", "description": "Returns a list of namespaces the user is authorized to view based on the search criteria" }, { "name": "owned_only", "value": "", "type": "query", "description": "In GitLab 14.2 and later, returns a list of owned namespaces only" }, { "name": "top_level_only", "value": "", "type": "query", "description": "Only include top level namespaces" }, { "name": "full_path_search", "value": "", "type": "query", "description": "If `true`, the `search` parameter is matched against the full path of the namespaces" }, { "name": "page", "value": "1", "type": "query", "description": "Current page number" }, { "name": "per_page", "value": "20", "type": "query", "description": "Number of items per page" }, { "name": "requested_hosted_plan", "value": "", "type": "query", "description": "Name of the hosted plan requested by the customer" } ] }, "docs": "Get a list of the namespaces of the authenticated user. If the user is an administrator, a list of all namespaces in the GitLab instance is shown." }, { "info": { "name": "Get existence of a namespace", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/v4/namespaces/:id/exists", "params": [ { "name": "id", "value": "", "type": "path", "description": "Namespace’s path" }, { "name": "parent_id", "value": "", "type": "query", "description": "The ID of the parent namespace. If no ID is specified, only top-level namespaces are considered." } ] }, "docs": "Get existence of a namespace by path. Suggests a new namespace path that does not already exist." } ] } ], "bundled": true }