From 88ab7755d67f46119b493c040108f4028ecf53b5 Mon Sep 17 00:00:00 2001 From: Frederick Zhang Date: Fri, 6 Nov 2020 09:32:09 +1100 Subject: [PATCH 1/3] 2020-11-05T22:32+00:00 update json files --- json/agreements.json | 15554 ++++++++++++++++++--------------- json/baseUris.json | 238 +- json/groups.json | 1140 ++- json/libraryDocuments.json | 6162 ++++++++----- json/megaSigns.json | 6711 +++++++++----- json/messageTemplates.json | 203 + json/transientDocuments.json | 335 +- json/users.json | 1968 ++--- json/webhooks.json | 2349 ++--- json/widgets.json | 8023 ++++++++++------- json/workflows.json | 957 +- 11 files changed, 26069 insertions(+), 17571 deletions(-) create mode 100644 json/messageTemplates.json diff --git a/json/agreements.json b/json/agreements.json index 184c5d2..5d32a46 100644 --- a/json/agreements.json +++ b/json/agreements.json @@ -1,6990 +1,8840 @@ - { - "apiVersion":"6.0.0" - ,"swaggerVersion":"1.2" - ,"basePath":"/api/rest/v6" - ,"resourcePath":"/agreements" - ,"produces": - ["application/json","application/pdf","text/csv" - ] - ,"apis": - [ - { - "path":"/agreements" - ,"operations": - [ - { - "httpMethod":"POST" - ,"summary":"Creates an agreement. Sends it out for signatures, and returns the agreementID in the response to the client." - ,"notes":"This is a primary endpoint which is used to create a new agreement. An agreement can be created using transientDocument, libraryDocument or a URL. You can create an agreement in one of the 3 mentioned states: a) DRAFT<\/b> - to incrementally build the agreement before sending out, b) AUTHORING<\/b> - to add/edit form fields in the agreement, c) IN_PROCESS<\/b> - to immediately send the agreement. You can use the PUT /agreements/{agreementId}/state endpoint to transition an agreement between the above mentioned states. An allowed transition would follow the following sequence: DRAFT -> AUTHORING -> IN_PROCESS -> CANCELLED." - ,"type":"AgreementCreationResponse" - ,"nickname":"createAgreement" - ,"order":6 - ,"produces": - ["application/json" - ] - ,"authorizations": - { - "oauth2": - [ - { - "scope":"agreement_write" - } - ] - } - ,"parameters": - [ - { - "name":"Authorization" - ,"description":"An OAuth Access Token<\/a> with scopes: