Skip to content

Commit 7aae4ff

Browse files
authored
Merge pull request #111 from docusign/dev_mudit
Updated host urls. Added new specs within README.md.
2 parents 5527c2c + 10056bd commit 7aae4ff

13 files changed

+43
-46
lines changed

DocuSign-Extensions.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
# DocuSign Vendor specific Extensions
1+
# Docusign Vendor specific Extensions
22

33
The Swagger and OpenAPI specifications enable vendor specific extensions throughout Swagger files.
4-
The extensions must start with the letter x. All DocuSign extensions start with `x-ds-`.
4+
The extensions must start with the letter x. All Docusign extensions start with `x-ds-`.
55

66
## Categories, Resources, Methods
77
The OpenAPI specification does not focus on the idea of resources for APIs.
88
In particular, the OpenAPI `tags` element can be used to add multiple tags to a method.
99

10-
DocuSign assigns each method to exactly one **resource**. Resources are usually plural nouns.
10+
Docusign assigns each method to exactly one **resource**. Resources are usually plural nouns.
1111
They start with a capital letter.
1212

1313
Methods are verbs. They are lower case.

README.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,40 @@
11
![alt text](OpenAPI.png)
22

3-
# DocuSign OpenAPI Specifications
3+
# Docusign OpenAPI Specifications
44

5-
DocuSign uses the OpenAPI (OAI) Specification - formerly known as "Swagger" - to describe its REST APIs. The goal of the OAI specification is to define a standard, language-agnostic interface to REST APIs which allows both humans and computers to discover and understand the capabilities of the service. For more info see the official [OAI](https://github.com/OAI/OpenAPI-Specification) spec.
5+
Docusign uses the OpenAPI (OAI) Specification - formerly known as "Swagger" - to describe its REST APIs. The goal of the OAI specification is to define a standard, language-agnostic interface to REST APIs which allows both humans and computers to discover and understand the capabilities of the service. For more info see the official [OAI](https://github.com/OAI/OpenAPI-Specification) spec.
66

77
## The Swagger file
88

9-
![](https://validator.swagger.io/validator?url=https://raw.githubusercontent.com/docusign/OpenAPI-Specifications/master/esignature.rest.swagger-v2.1.json) `esignature.rest.swagger-v2.1.json` - the full swagger file for DocuSign's eSignature REST API v2.1
9+
![](https://validator.swagger.io/validator?url=https://raw.githubusercontent.com/docusign/OpenAPI-Specifications/master/esignature.rest.swagger-v2.1.json) `esignature.rest.swagger-v2.1.json` - the full swagger file for Docusign's eSignature REST API v2.1
1010

11-
![](https://validator.swagger.io/validator?url=https://raw.githubusercontent.com/docusign/OpenAPI-Specifications/master/esignature.rest.swagger-v2.json) `esignature.rest.swagger-v2.json` - the full swagger file for DocuSign's eSignature REST API v2
11+
![](https://validator.swagger.io/validator?url=https://raw.githubusercontent.com/docusign/OpenAPI-Specifications/master/esignature.rest.swagger-v2.json) `esignature.rest.swagger-v2.json` - the full swagger file for Docusign's eSignature REST API v2
1212

13-
![](https://validator.swagger.io/validator?url=https://raw.githubusercontent.com/docusign/OpenAPI-Specifications/master/rooms.rest.swagger-v2.json) `rooms.rest.swagger-v2.json` - the full swagger file for DocuSign's Rooms API v2
13+
![](https://validator.swagger.io/validator?url=https://raw.githubusercontent.com/docusign/OpenAPI-Specifications/master/rooms.rest.swagger-v2.json) `rooms.rest.swagger-v2.json` - the full swagger file for Docusign's Rooms API v2
1414

15-
![](https://validator.swagger.io/validator?url=https://raw.githubusercontent.com/docusign/OpenAPI-Specifications/master/click.rest.swagger-v2.json) `click.rest.swagger-v2.json` - the full swagger file for DocuSign's Click API v1
15+
![](https://validator.swagger.io/validator?url=https://raw.githubusercontent.com/docusign/OpenAPI-Specifications/master/click.rest.swagger-v2.json) `click.rest.swagger-v2.json` - the full swagger file for Docusign's Click API v1
1616

17-
![](https://validator.swagger.io/validator?url=https://raw.githubusercontent.com/docusign/OpenAPI-Specifications/master/admin.rest.swagger-v2.json) `admin.rest.swagger-v2.json` - the full swagger file for DocuSign's Admin API v2 and v2.1
17+
![](https://validator.swagger.io/validator?url=https://raw.githubusercontent.com/docusign/OpenAPI-Specifications/master/admin.rest.swagger-v2.json) `admin.rest.swagger-v2.json` - the full swagger file for Docusign's Admin API v2 and v2.1
18+
19+
![](https://validator.swagger.io/validator?url=https://raw.githubusercontent.com/docusign/OpenAPI-Specifications/master/maestro.rest.swagger-v1.0.0.json) `maestro.rest.swagger-v1.0.0.json` - the full swagger file for Docusign's Maestro API v1
20+
21+
![](https://validator.swagger.io/validator?url=https://raw.githubusercontent.com/docusign/OpenAPI-Specifications/master/webforms.rest.swagger-v1.1.0.json) `webforms.rest.swagger-v1.1.0.json` - the full swagger file for Docusign's WebForms API v1.1
1822

1923
## What can I do with a Swagger file?
2024

2125
We use OpenAPI/Swagger files to build many of our developer tools including our [client SDKs](https://developers.docusign.com/docs/esign-rest-api/sdk-tools) using `swagger-codegen`. We also use the OAI specification to build our [API Docs](https://docs.docusign.com/esign/) and [API Explorer](https://apiexplorer.docusign.com/#/) tools. What will you build? Let us know by filing an issue in this repository.
2226

2327
### Vendor-specific extensions
2428

25-
Some post-processing is performed on our eSignature Swagger spec which includes adding a number of vendor-specific extensions prefixed with `x-ds-`. See the [DocuSign-Extensions.md](DocuSign-Extensions.md) file for more information.
29+
Some post-processing is performed on our eSignature Swagger spec which includes adding a number of vendor-specific extensions prefixed with `x-ds-`. See the [Docusign-Extensions.md](Docusign-Extensions.md) file for more information.
2630

2731
### Releases
2832

2933
The DocuSign eSignature REST API is updated monthly. The Swagger file in this repository is also updated monthly. See the "Releases" tab for version information. The current release information is available from the [Developer Account (demo)](https://demo.docusign.net/restapi/service_information) and [production](https://www.docusign.net/restapi/service_information) platforms.
3034

3135
## Support
3236

33-
Please log issues through GitHub. We also have an active developer community on Stack Overflow, search the [DocuSignAPI](http://stackoverflow.com/questions/tagged/docusignapi) tag.
37+
Please log issues through GitHub. We also have an active developer community on Stack Overflow, search the [DocusignAPI](http://stackoverflow.com/questions/tagged/docusignapi) tag.
3438

3539
## License
3640

admin.rest.swagger-v2.1.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
},
1212
"termsOfService": "https://www.docusign.com/company/terms-and-conditions/developers"
1313
},
14-
"host": "api.docusign.net",
14+
"host": "api-d.docusign.net",
1515
"basePath": "/Management",
1616
"schemes": [
1717
"https"
@@ -8275,8 +8275,8 @@
82758275
"type": "oauth2",
82768276
"description": "OAuth2 Access code Grant",
82778277
"flow": "accessCode",
8278-
"authorizationUrl": "https://account.docusign.com/oauth/auth",
8279-
"tokenUrl": "https://account.docusign.com/oauth/auth",
8278+
"authorizationUrl": "https://account-d.docusign.com/oauth/auth",
8279+
"tokenUrl": "https://account-d.docusign.com/oauth/auth",
82808280
"scopes": {
82818281
"organization_read": "",
82828282
"user_data_redact": "",

admin.rest.swagger-v2.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
},
1212
"termsOfService": "https://www.docusign.com/company/terms-and-conditions/developers"
1313
},
14-
"host": "api.docusign.net",
14+
"host": "api-d.docusign.net",
1515
"basePath": "/Management",
1616
"schemes": [
1717
"https"
@@ -5869,8 +5869,8 @@
58695869
"type": "oauth2",
58705870
"description": "OAuth2 Access code Grant",
58715871
"flow": "accessCode",
5872-
"authorizationUrl": "https://account.docusign.com/oauth/auth",
5873-
"tokenUrl": "https://account.docusign.com/oauth/auth",
5872+
"authorizationUrl": "https://account-d.docusign.com/oauth/auth",
5873+
"tokenUrl": "https://account-d.docusign.com/oauth/auth",
58745874
"scopes": {
58755875
"organization_read": "",
58765876
"permission_read": "",

click.rest.swagger-v1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"email": "[email protected]"
1212
}
1313
},
14-
"host": "www.docusign.net",
14+
"host": "www.demo.docusign.net",
1515
"basePath": "/clickapi",
1616
"schemes": [
1717
"https"

click.rest.swagger-v2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"email": "[email protected]"
1212
}
1313
},
14-
"host": "www.docusign.net",
14+
"host": "www.demo.docusign.net",
1515
"basePath": "/clickapi",
1616
"schemes": [
1717
"https"

esignature.rest.swagger-v2.1.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{
1+
{
22
"swagger": "2.0",
33
"info": {
44
"version": "v2.1",
@@ -11,7 +11,7 @@
1111
"email": "[email protected]"
1212
}
1313
},
14-
"host": "www.docusign.net",
14+
"host": "www.demo.docusign.net",
1515
"basePath": "/restapi",
1616
"schemes": [
1717
"https"

esignature.rest.swagger-v2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"email": "[email protected]"
1212
}
1313
},
14-
"host": "www.docusign.net",
14+
"host": "www.demo.docusign.net",
1515
"basePath": "/restapi",
1616
"schemes": [
1717
"https"

maestro.rest.swagger-v1.0.0.json

Lines changed: 10 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"title": "Maestro API",
1212
"version": "1.0.0"
1313
},
14-
"host": "apps.docusign.com",
14+
"host": "apps-d.docusign.com",
1515
"basePath": "/api/maestro",
1616
"schemes": [
1717
"https"
@@ -32,33 +32,29 @@
3232
"in": "path",
3333
"name": "accountId",
3434
"required": true,
35-
"type": "string",
36-
"example": "00000000-0000-0000-0000-000000000000"
35+
"type": "string"
3736
},
3837
{
3938
"description": "Workflow definition ID.",
4039
"format": "uuid",
4140
"in": "path",
4241
"name": "workflowDefinitionId",
4342
"required": true,
44-
"type": "string",
45-
"example": "00000000-0000-0000-0000-000000000000"
43+
"type": "string"
4644
},
4745
{
4846
"description": "Managed Token Id registered with Docusign Account Server",
4947
"format": "uuid",
5048
"in": "query",
5149
"name": "mtid",
52-
"type": "string",
53-
"example": "00000000-0000-0000-0000-000000000000"
50+
"type": "string"
5451
},
5552
{
5653
"description": "Managed Token Secret registered with Docusign account server",
5754
"format": "uuid",
5855
"in": "query",
5956
"name": "mtsec",
60-
"type": "string",
61-
"example": "00000000-0000-0000-0000-000000000000"
57+
"type": "string"
6258
},
6359
{
6460
"description": "",
@@ -151,8 +147,7 @@
151147
"in": "path",
152148
"name": "instanceId",
153149
"required": true,
154-
"type": "string",
155-
"example": "00000000-0000-0000-0000-000000000000"
150+
"type": "string"
156151
}
157152
],
158153
"responses": {
@@ -224,8 +219,7 @@
224219
"in": "path",
225220
"name": "instanceId",
226221
"required": true,
227-
"type": "string",
228-
"example": "00000000-0000-0000-0000-000000000000"
222+
"type": "string"
229223
}
230224
],
231225
"responses": {
@@ -878,8 +872,7 @@
878872
"in": "path",
879873
"name": "instanceId",
880874
"required": true,
881-
"type": "string",
882-
"example": "00000000-0000-0000-0000-000000000000"
875+
"type": "string"
883876
}
884877
],
885878
"responses": {
@@ -3614,14 +3607,14 @@
36143607
},
36153608
"securityDefinitions": {
36163609
"DSAuth": {
3617-
"authorizationUrl": "https://account-tk1.tk.docusign.dev/oauth/auth",
3610+
"authorizationUrl": "https://account-d.docusign.com/oauth/auth",
36183611
"description": "Docusign AuthN/AuthZ",
36193612
"flow": "accessCode",
36203613
"scopes": {
36213614
"aow_manage": "Manage workflows scope",
36223615
"signature": "Using signature scope"
36233616
},
3624-
"tokenUrl": "https://account-tk1.tk.docusign.dev/oauth/token",
3617+
"tokenUrl": "https://account-d.docusign.com/oauth/token",
36253618
"type": "oauth2"
36263619
},
36273620
"DSBearerAuth": {

monitor.rest.swagger-v2.0.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"email": "[email protected]"
1212
}
1313
},
14-
"host": "lens.docusign.net",
14+
"host": "lens-d.docusign.net",
1515
"basePath": "",
1616
"schemes": [
1717
"https"

0 commit comments

Comments
 (0)