ed</p>
<p>You can read more about <a href="../ci/resource_groups/index.md">controlling the job concurrency with resource groups</a>.</p>
<h2>Get all resource groups for a project</h2>
<p><code>plaintext
GET /projects/:id/resource_groups</code></p>
<p>| Attribute | Type    | Required | Description         |
|-----------|---------|----------|---------------------|
| <code>id</code>      | integer/string     | yes      | The ID or <a href="rest/index.md#namespaced-path-encoding">URL-encoded path of the project