Skip to content
Closed
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
@@ -0,0 +1,20 @@
{
"parameters": {
"workspaceName": "workspace1",
"api-version": "2019-06-01-preview",
"x-ms-client-request-id": "c8b9a072-76f6-4383-8350-db4431deb921",
"gitHubAccessTokenRequest": {
"gitHubClientId": "wvwvwvwvwv",
"gitHubAccessCode": "cwvcwvwev",
"gitHubAccessTokenBaseUrl": "https://github.com/login/oauth/access_token"
},
"endpoint": "https://azure.xyz"
},
"responses": {
"200": {
"body": {
"gitHubAccessToken": "zycdwcsdc"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,15 @@
},
"sqlAdministratorLogin": "sqladminuser",
"privateEndpointConnections": [],
"workspaceRepositoryConfiguration": {
"accountName": "myGithubAccount",
"collaborationBranch": "master",
"hostName": "",
"projectName": "myProject",
"repositoryName": "myRepository",
"rootFolder": "/",
"type": "FactoryGitHubConfiguration"
},
"provisioningState": "Succeeded"
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
{
"swagger": "2.0",
"info": {
"version": "2019-06-01-preview",
"title": "ArtifactsClient"
},
"x-ms-parameterized-host": {
"hostTemplate": "{endpoint}",
"useSchemePrefix": false,
"parameters": [
{
"$ref": "#/parameters/Endpoint"
}
]
},
"schemes": [
"https"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"paths": {
"/getGitHubAccessToken": {
"post": {
"tags": [
"WorkspaceGitRepoManagement"
],
"operationId": "Get the GitHub access token.",
"description": "Get SQL OD/DW Query for the workspace.",
"x-ms-examples": {
"Get SOL job query string": {
"$ref": "./examples/WorkspaceGitRepoManagement_getGitHubAccessToken.json"
}
},
"parameters": [
{
"name": "x-ms-client-request-id",
"in": "header",
"required": false,
"type": "string",
"description": "Can provide a guid, which is helpful for debugging and to provide better customer support"
},
{
"name": "api-version",
"in": "query",
"required": true,
"type": "string"
},
{
"name": "gitHubAccessTokenRequest",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/GitHubAccessTokenRequest"
}
}
],
"responses": {
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/GitHubAccessTokenResponse"
}
}
}
}
}
},
"definitions": {
"GitHubAccessTokenRequest": {
"type": "object",
"properties": {
"gitHubClientId": {
"description": "The GitHub Client Id.",
"type": "string"
},
"gitHubAccessCode": {
"description": "The GitHub Access code.",
"type": "string"
},
"gitHubAccessTokenBaseUrl": {
"description": "The GitHub access token base URL.",
"type": "string"
}
},
"required": [
"gitHubClientId",
"gitHubAccessCode",
"gitHubAccessTokenBaseUrl"
]
},
"GitHubAccessTokenResponse": {
"type": "object",
"properties": {
"gitHubAccessToken": {
"type": "string"
}
}
}
},
"parameters": {
"Endpoint": {
"name": "endpoint",
"description": "The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net.",
"required": true,
"type": "string",
"in": "path",
"x-ms-skip-url-encoding": true,
"x-ms-parameter-location": "client"
},
"ApiVersionParameter": {
"name": "api-version",
"in": "query",
"required": true,
"type": "string",
"description": "The Synapse client API Version."
}
}
}
1 change: 1 addition & 0 deletions specification/synapse/data-plane/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ input-file:
- Microsoft.Synapse/preview/2019-06-01-preview/entityTypes/SparkJobDefinition.json
- Microsoft.Synapse/preview/2019-06-01-preview/entityTypes/SqlScript.json
- Microsoft.Synapse/preview/2019-06-01-preview/entityTypes/Trigger.json
- Microsoft.Synapse/preview/2019-06-01-preview/gitintegration.json
```

### Tag: package-access-control-2020-02-01-preview
Expand Down
Loading