Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,11 @@
"type": "object",
"description": "Resources created in user's repository for the source-control.",
"properties": {
"oauthInfo": {
"type": "object",
"description": "The repository access authentication info.",
"$ref": "#/definitions/OauthDetail"
},
"webhook": {
"type": "object",
"description": "The webhook object created for the source-control.",
Expand Down Expand Up @@ -477,6 +482,24 @@
}
}
},
"OauthDetail": {
"description": "Resources created in GitHub repository.",
"type": "object",
"properties": {
"accessCode": {
"description": "Repository access authentication code.",
"type": "string"
},
"state": {
"description": "Repository access authentication state.",
"type": "string"
},
"clientId": {
"description": "Repository access authentication client id.",
"type": "string"
}
}
},
"GitHubResourceInfo": {
"description": "Resources created in GitHub repository.",
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@
"path": "path/to/workbooks"
}
]
},
"repositoryResourceInfo": {
"oauthInfo": {
"accessCode": "123456",
"state": "testingstate",
"clientId": "<optional client id>"
}
}
}
}
Expand Down Expand Up @@ -67,6 +74,7 @@
]
},
"repositoryResourceInfo": {
"oauthInfo": null,
"webhook": {
"webhookId": "342768323",
"webhookUrl": "https://cac.sentinel.azure.com/workspaces/b7c525e9-1bfa-4435-88c0-817e13abb088/webhooks/ado/sourceControl/789e0c1f-4a3d-43ad-809c-e713b677b04a",
Expand Down Expand Up @@ -132,6 +140,7 @@
]
},
"repositoryResourceInfo": {
"oauthInfo": null,
"webhook": {
"webhookId": "342768323",
"webhookUrl": "https://cac.sentinel.azure.com/workspaces/b7c525e9-1bfa-4435-88c0-817e13abb088/webhooks/ado/sourceControl/789e0c1f-4a3d-43ad-809c-e713b677b04a",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
]
},
"repositoryResourceInfo": {
"oauthInfo": null,
"webhook": {
"webhookId": "342768323",
"webhookUrl": "https://cac.sentinel.azure.com/workspaces/b7c525e9-1bfa-4435-88c0-817e13abb088/webhooks/ado/sourceControl/789e0c1f-4a3d-43ad-809c-e713b677b04a",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
]
},
"repositoryResourceInfo": {
"oauthInfo": null,
"webhook": {
"webhookId": "342768323",
"webhookUrl": "https://cac.sentinel.azure.com/workspaces/b7c525e9-1bfa-4435-88c0-817e13abb088/webhooks/ado/sourceControl/789e0c1f-4a3d-43ad-809c-e713b677b04a",
Expand Down