|
31035 | 31035 | "/repos/{owner}/{repo}/codespaces": { |
31036 | 31036 | "get": { |
31037 | 31037 | "summary": "List codespaces in a repository for the authenticated user", |
31038 | | - "description": "Lists the codespaces associated to a specified repository and the authenticated user.\n\nYou must authenticate using an access token with the `codespace` scope to use this endpoint.\n\nGitHub Apps must have read access to the `codespaces` repository permission to use this endpoint.", |
| 31038 | + "description": "Lists the codespaces associated to a specified repository and the authenticated user.\n\nYou must authenticate using an access token with the `codespace` scope to use this endpoint.\n\nTo use this endpoint with GitHub Apps:\n\n- The app must be authenticated on behalf of the user. For more information, see \"[Authenticating with a GitHub App on behalf of a user](https://docs.github.com/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-with-a-github-app-on-behalf-of-a-user).\"\n- The app must have read access to the `codespaces` repository permission.", |
31039 | 31039 | "tags": [ |
31040 | 31040 | "codespaces" |
31041 | 31041 | ], |
|
31111 | 31111 | }, |
31112 | 31112 | "post": { |
31113 | 31113 | "summary": "Create a codespace in a repository", |
31114 | | - "description": "Creates a codespace owned by the authenticated user in the specified repository.\n\nYou must authenticate using an access token with the `codespace` scope to use this endpoint.\n\nGitHub Apps must have write access to the `codespaces` repository permission to use this endpoint.", |
| 31114 | + "description": "Creates a codespace owned by the authenticated user in the specified repository.\n\nYou must authenticate using an access token with the `codespace` scope to use this endpoint.\n\nTo use this endpoint with GitHub Apps:\n\n- The app must be authenticated on behalf of the user. For more information, see \"[Authenticating with a GitHub App on behalf of a user](https://docs.github.com/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-with-a-github-app-on-behalf-of-a-user).\"\n- The app must have write access to the `codespaces` repository permission.", |
31115 | 31115 | "tags": [ |
31116 | 31116 | "codespaces" |
31117 | 31117 | ], |
|
31453 | 31453 | "/repos/{owner}/{repo}/codespaces/new": { |
31454 | 31454 | "get": { |
31455 | 31455 | "summary": "Get default attributes for a codespace", |
31456 | | - "description": "Gets the default attributes for codespaces created by the user with the repository.\n\nYou must authenticate using an access token with the `codespace` scope to use this endpoint.\n\nGitHub Apps must have write access to the `codespaces` repository permission to use this endpoint.", |
| 31456 | + "description": "Gets the default attributes for codespaces created by the user with the repository.\n\nYou must authenticate using an access token with the `codespace` scope to use this endpoint.\n\nTo use this endpoint with GitHub Apps:\n\n- The app must be authenticated on behalf of the user. For more information, see \"[Authenticating with a GitHub App on behalf of a user](https://docs.github.com/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-with-a-github-app-on-behalf-of-a-user).\"\n- The app must have write access to the `codespaces` repository permission.", |
31457 | 31457 | "tags": [ |
31458 | 31458 | "codespaces" |
31459 | 31459 | ], |
|
31546 | 31546 | "/repos/{owner}/{repo}/codespaces/permissions_check": { |
31547 | 31547 | "get": { |
31548 | 31548 | "summary": "Check if permissions defined by a devcontainer have been accepted by the authenticated user", |
31549 | | - "description": "Checks whether the permissions defined by a given devcontainer configuration have been accepted by the authenticated user.\n\nYou must authenticate using an access token with the `codespace` scope to use this endpoint.\n\nGitHub Apps must have write access to the `codespaces` repository permission to use this endpoint.", |
| 31549 | + "description": "Checks whether the permissions defined by a given devcontainer configuration have been accepted by the authenticated user.\n\nYou must authenticate using an access token with the `codespace` scope to use this endpoint.\n\nTo use this endpoint with GitHub Apps:\n\n- The app must be authenticated on behalf of the user. For more information, see \"[Authenticating with a GitHub App on behalf of a user](https://docs.github.com/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-with-a-github-app-on-behalf-of-a-user).\"\n- The app must have write access to the `codespaces` repository permission.", |
31550 | 31550 | "tags": [ |
31551 | 31551 | "codespaces" |
31552 | 31552 | ], |
|
45257 | 45257 | "/repos/{owner}/{repo}/pulls/{pull_number}/codespaces": { |
45258 | 45258 | "post": { |
45259 | 45259 | "summary": "Create a codespace from a pull request", |
45260 | | - "description": "Creates a codespace owned by the authenticated user for the specified pull request.\n\nYou must authenticate using an access token with the `codespace` scope to use this endpoint.\n\nGitHub Apps must have write access to the `codespaces` repository permission to use this endpoint.", |
| 45260 | + "description": "Creates a codespace owned by the authenticated user for the specified pull request.\n\nYou must authenticate using an access token with the `codespace` scope to use this endpoint.\n\nTo use this endpoint with GitHub Apps:\n\n- The app must be authenticated on behalf of the user. For more information, see \"[Authenticating with a GitHub App on behalf of a user](https://docs.github.com/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-with-a-github-app-on-behalf-of-a-user).\"\n- The app must have write access to the `codespaces` repository permission.", |
45261 | 45261 | "tags": [ |
45262 | 45262 | "codespaces" |
45263 | 45263 | ], |
|
55373 | 55373 | "/user/codespaces": { |
55374 | 55374 | "get": { |
55375 | 55375 | "summary": "List codespaces for the authenticated user", |
55376 | | - "description": "Lists the authenticated user's codespaces.\n\nYou must authenticate using an access token with the `codespace` scope to use this endpoint.\n\nGitHub Apps must have read access to the `codespaces` repository permission to use this endpoint.", |
| 55376 | + "description": "Lists the authenticated user's codespaces.\n\nYou must authenticate using an access token with the `codespace` scope to use this endpoint.\n\nTo use this endpoint with GitHub Apps:\n\n- The app must be authenticated on behalf of the user. For more information, see \"[Authenticating with a GitHub App on behalf of a user](https://docs.github.com/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-with-a-github-app-on-behalf-of-a-user).\"\n- The app must have read access to the `codespaces` repository permission.", |
55377 | 55377 | "tags": [ |
55378 | 55378 | "codespaces" |
55379 | 55379 | ], |
|
55449 | 55449 | }, |
55450 | 55450 | "post": { |
55451 | 55451 | "summary": "Create a codespace for the authenticated user", |
55452 | | - "description": "Creates a new codespace, owned by the authenticated user.\n\nThis endpoint requires either a `repository_id` OR a `pull_request` but not both.\n\nYou must authenticate using an access token with the `codespace` scope to use this endpoint.\n\nGitHub Apps must have write access to the `codespaces` repository permission to use this endpoint.", |
| 55452 | + "description": "Creates a new codespace, owned by the authenticated user.\n\nThis endpoint requires either a `repository_id` OR a `pull_request` but not both.\n\nYou must authenticate using an access token with the `codespace` scope to use this endpoint.\n\nTo use this endpoint with GitHub Apps:\n\n- The app must be authenticated on behalf of the user. For more information, see \"[Authenticating with a GitHub App on behalf of a user](https://docs.github.com/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-with-a-github-app-on-behalf-of-a-user).\"\n- The app must have write access to the `codespaces` repository permission.", |
55453 | 55453 | "tags": [ |
55454 | 55454 | "codespaces" |
55455 | 55455 | ], |
|
56161 | 56161 | "/user/codespaces/{codespace_name}": { |
56162 | 56162 | "get": { |
56163 | 56163 | "summary": "Get a codespace for the authenticated user", |
56164 | | - "description": "Gets information about a user's codespace.\n\nYou must authenticate using an access token with the `codespace` scope to use this endpoint.\n\nGitHub Apps must have read access to the `codespaces` repository permission to use this endpoint.", |
| 56164 | + "description": "Gets information about a user's codespace.\n\nYou must authenticate using an access token with the `codespace` scope to use this endpoint.\n\nTo use this endpoint with GitHub Apps:\n\n- The app must be authenticated on behalf of the user. For more information, see \"[Authenticating with a GitHub App on behalf of a user](https://docs.github.com/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-with-a-github-app-on-behalf-of-a-user).\"\n- The app must have read access to the `codespaces` repository permission.", |
56165 | 56165 | "tags": [ |
56166 | 56166 | "codespaces" |
56167 | 56167 | ], |
|
56216 | 56216 | }, |
56217 | 56217 | "patch": { |
56218 | 56218 | "summary": "Update a codespace for the authenticated user", |
56219 | | - "description": "Updates a codespace owned by the authenticated user. Currently only the codespace's machine type and recent folders can be modified using this endpoint.\n\nIf you specify a new machine type it will be applied the next time your codespace is started.\n\nYou must authenticate using an access token with the `codespace` scope to use this endpoint.\n\nGitHub Apps must have write access to the `codespaces` repository permission to use this endpoint.", |
| 56219 | + "description": "Updates a codespace owned by the authenticated user. Currently only the codespace's machine type and recent folders can be modified using this endpoint.\n\nIf you specify a new machine type it will be applied the next time your codespace is started.\n\nYou must authenticate using an access token with the `codespace` scope to use this endpoint.\n\nTo use this endpoint with GitHub Apps:\n\n- The app must be authenticated on behalf of the user. For more information, see \"[Authenticating with a GitHub App on behalf of a user](https://docs.github.com/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-with-a-github-app-on-behalf-of-a-user).\"\n- The app must have write access to the `codespaces` repository permission.", |
56220 | 56220 | "tags": [ |
56221 | 56221 | "codespaces" |
56222 | 56222 | ], |
|
56299 | 56299 | }, |
56300 | 56300 | "delete": { |
56301 | 56301 | "summary": "Delete a codespace for the authenticated user", |
56302 | | - "description": "Deletes a user's codespace.\n\nYou must authenticate using an access token with the `codespace` scope to use this endpoint.\n\nGitHub Apps must have write access to the `codespaces` repository permission to use this endpoint.", |
| 56302 | + "description": "Deletes a user's codespace.\n\nYou must authenticate using an access token with the `codespace` scope to use this endpoint.\n\nTo use this endpoint with GitHub Apps:\n\n- The app must be authenticated on behalf of the user. For more information, see \"[Authenticating with a GitHub App on behalf of a user](https://docs.github.com/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-with-a-github-app-on-behalf-of-a-user).\"\n- The app must have write access to the `codespaces` repository permission.", |
56303 | 56303 | "tags": [ |
56304 | 56304 | "codespaces" |
56305 | 56305 | ], |
|
56521 | 56521 | "/user/codespaces/{codespace_name}/publish": { |
56522 | 56522 | "post": { |
56523 | 56523 | "summary": "Create a repository from an unpublished codespace", |
56524 | | - "description": "Publishes an unpublished codespace, creating a new repository and assigning it to the codespace.\n\nThe codespace's token is granted write permissions to the repository, allowing the user to push their changes.\n\nThis will fail for a codespace that is already published, meaning it has an associated repository.\n\nYou must authenticate using a personal access token with the `codespace` scope to use this endpoint.\n\nGitHub Apps must have write access to the `codespaces` repository permission to use this endpoint.", |
| 56524 | + "description": "Publishes an unpublished codespace, creating a new repository and assigning it to the codespace.\n\nThe codespace's token is granted write permissions to the repository, allowing the user to push their changes.\n\nThis will fail for a codespace that is already published, meaning it has an associated repository.\n\nYou must authenticate using a personal access token with the `codespace` scope to use this endpoint.\n\nTo use this endpoint with GitHub Apps:\n\n- The app must be authenticated on behalf of the user. For more information, see \"[Authenticating with a GitHub App on behalf of a user](https://docs.github.com/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-with-a-github-app-on-behalf-of-a-user).\"\n- The app must have write access to the `codespaces` repository permission.", |
56525 | 56525 | "tags": [ |
56526 | 56526 | "codespaces" |
56527 | 56527 | ], |
|
0 commit comments