-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Temporary endpoints to migrate git
- Loading branch information
Showing
5 changed files
with
90 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
get: | ||
summary: 'Get git provider accounts' | ||
operationId: getOrganizationGitProviderAccountTemp | ||
parameters: | ||
- $ref: '../parameters/path/organizationId.yaml' | ||
tags: | ||
- Organization Account Git Repositories | ||
responses: | ||
'200': | ||
description: 'Get account' | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '../schemas/GitAuthProviderResponseList.yaml' | ||
'401': | ||
$ref: '../responses/NotAuthorized.yaml' |
22 changes: 22 additions & 0 deletions
22
src/resources/OrganizationAccountGitRepositoryBitbucketTemp.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
get: | ||
summary: 'Get bitbucket repositories of the connected user' | ||
operationId: getOrganizationBitbucketRepositoriesTemp | ||
parameters: | ||
- $ref: '../parameters/path/organizationId.yaml' | ||
- in: query | ||
name: gitTokenId | ||
schema: | ||
type: string | ||
format: uuid | ||
description: The git token id that must be used for the application | ||
tags: | ||
- Organization Account Git Repositories | ||
responses: | ||
'200': | ||
description: 'Get bitbucket repositories' | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '../schemas/GitRepositoryResponseList.yaml' | ||
'401': | ||
$ref: '../responses/NotAuthorized.yaml' |
22 changes: 22 additions & 0 deletions
22
src/resources/OrganizationAccountGitRepositoryGithubTemp.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
get: | ||
summary: 'Get github repositories of the connected user' | ||
operationId: getOrganizationGithubRepositoriesTemp | ||
parameters: | ||
- $ref: '../parameters/path/organizationId.yaml' | ||
- in: query | ||
name: gitTokenId | ||
schema: | ||
type: string | ||
format: uuid | ||
description: The git token id that must be used for the application | ||
tags: | ||
- Organization Account Git Repositories | ||
responses: | ||
'200': | ||
description: 'Get github repositories' | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '../schemas/GitRepositoryResponseList.yaml' | ||
'401': | ||
$ref: '../responses/NotAuthorized.yaml' |
22 changes: 22 additions & 0 deletions
22
src/resources/OrganizationAccountGitRepositoryGitlabTemp.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
get: | ||
summary: 'Get gitlab repositories of the connected user' | ||
operationId: getOrganizationGitlabRepositoriesTemp | ||
parameters: | ||
- $ref: '../parameters/path/organizationId.yaml' | ||
- in: query | ||
name: gitTokenId | ||
schema: | ||
type: string | ||
format: uuid | ||
description: The git token id that must be used for the application | ||
tags: | ||
- Organization Account Git Repositories | ||
responses: | ||
'200': | ||
description: 'Get gitlab repositories' | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '../schemas/GitRepositoryResponseList.yaml' | ||
'401': | ||
$ref: '../responses/NotAuthorized.yaml' |