Skip to content

Commit

Permalink
Update apideck APIs
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeRalphson committed Jul 6, 2021
1 parent 92ec723 commit fe4cacd
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 48 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ info:
name: Apache 2.0
url: http://www.apache.org/licenses/LICENSE-2.0.html
title: CRM API
version: 3.0.0
version: 3.0.2
x-apisguru-categories:
- developer_tools
x-logo:
Expand Down Expand Up @@ -1479,6 +1479,7 @@ paths:
summary: Create pipeline
tags:
- Pipelines
x-apideck-upcoming: true
"/crm/pipelines/{id}":
delete:
description: Delete pipeline
Expand Down Expand Up @@ -1509,6 +1510,7 @@ paths:
summary: Delete pipeline
tags:
- Pipelines
x-apideck-upcoming: true
get:
description: Get pipeline
operationId: pipelinesOne
Expand Down Expand Up @@ -1538,6 +1540,7 @@ paths:
summary: Get pipeline
tags:
- Pipelines
x-apideck-upcoming: true
patch:
description: Update pipeline
operationId: pipelinesUpdate
Expand Down Expand Up @@ -1573,6 +1576,7 @@ paths:
summary: Update pipeline
tags:
- Pipelines
x-apideck-upcoming: true
/crm/users:
get:
description: List users
Expand Down Expand Up @@ -2116,11 +2120,15 @@ components:
Activity:
additionalProperties: false
properties:
account_id:
example: "12345"
type: string
activity_date:
example: 2021-05-01
type: string
activity_datetime:
example: 2021-05-01T12:00:00.000Z
minLength: 1
type: string
all_day_event:
example: false
Expand Down Expand Up @@ -2171,8 +2179,12 @@ components:
description:
example: More info about the meeting
type: string
duration_minutes:
example: 30
type: integer
duration_seconds:
example: 1800
minimum: 0
type: integer
end_date:
example: 2021-05-01
Expand Down Expand Up @@ -2463,6 +2475,7 @@ components:
type: integer
name:
example: Copper
minLength: 1
type: string
owner_id:
example: "12345"
Expand Down Expand Up @@ -2590,6 +2603,7 @@ components:
type: string
name:
example: Elon Musk
minLength: 1
type: string
owner_id:
example: "54321"
Expand Down Expand Up @@ -3230,6 +3244,7 @@ components:
email:
example: [email protected]
format: email
minLength: 1
type: string
id:
example: "123"
Expand Down Expand Up @@ -3870,16 +3885,26 @@ components:
example: "12345"
readOnly: true
type: string
language:
description: language code according to ISO 639-1. For the United States - EN
example: EN
nullable: true
type: string
last_name:
example: Musk
nullable: true
type: string
lead_source:
example: Cold Call
nullable: true
type: string
monetary_amount:
example: 75000
nullable: true
type: number
name:
example: Elon Musk
minLength: 1
type: string
owner_id:
example: "54321"
Expand Down Expand Up @@ -4236,6 +4261,7 @@ components:
$ref: "#/components/schemas/Tags"
title:
example: New Rocket
minLength: 1
type: string
updated_at:
example: 2020-09-30T07:43:32.000Z
Expand Down Expand Up @@ -4299,6 +4325,7 @@ components:
type: string
number:
example: 111-111-1111
minLength: 1
type: string
type:
enum:
Expand Down Expand Up @@ -4337,6 +4364,7 @@ components:
type: string
name:
example: Sales Pipeline
minLength: 1
type: string
stages:
items:
Expand All @@ -4351,6 +4379,9 @@ components:
name:
example: Contract Sent
type: string
value:
example: CONTRACT_SENT
type: string
type: object
type: array
updated_at:
Expand All @@ -4372,6 +4403,7 @@ components:
type: string
url:
example: https://www.twitter.com/apideck-io
minLength: 1
type: string
required:
- url
Expand Down Expand Up @@ -4744,6 +4776,7 @@ components:
email:
example: [email protected]
format: email
minLength: 1
type: string
first_name:
example: Elon
Expand Down Expand Up @@ -4810,6 +4843,7 @@ components:
x-graphql-type-name: WebsiteType
url:
example: http://example.com
minLength: 1
type: string
required:
- url
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ info:
name: Apache 2.0
url: http://www.apache.org/licenses/LICENSE-2.0.html
title: Lead API
version: 3.0.0
version: 3.0.2
x-apisguru-categories:
- developer_tools
x-logo:
Expand Down Expand Up @@ -1015,6 +1015,7 @@ components:
email:
example: [email protected]
format: email
minLength: 1
type: string
id:
example: "123"
Expand Down Expand Up @@ -1084,16 +1085,26 @@ components:
example: "12345"
readOnly: true
type: string
language:
description: language code according to ISO 639-1. For the United States - EN
example: EN
nullable: true
type: string
last_name:
example: Musk
nullable: true
type: string
lead_source:
example: Cold Call
nullable: true
type: string
monetary_amount:
example: 75000
nullable: true
type: number
name:
example: Elon Musk
minLength: 1
type: string
owner_id:
example: "54321"
Expand Down Expand Up @@ -1276,6 +1287,7 @@ components:
type: string
number:
example: 111-111-1111
minLength: 1
type: string
type:
enum:
Expand Down Expand Up @@ -1305,6 +1317,7 @@ components:
type: string
url:
example: https://www.twitter.com/apideck-io
minLength: 1
type: string
required:
- url
Expand Down Expand Up @@ -1430,6 +1443,7 @@ components:
x-graphql-type-name: WebsiteType
url:
example: http://example.com
minLength: 1
type: string
required:
- url
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ info:
name: Apache 2.0
url: http://www.apache.org/licenses/LICENSE-2.0.html
title: Proxy API
version: 3.0.0
version: 3.0.2
x-apisguru-categories:
- developer_tools
x-logo:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ info:
name: Apache 2.0
url: http://www.apache.org/licenses/LICENSE-2.0.html
title: Vault API
version: 3.0.0
version: 3.0.2
x-apisguru-categories:
- developer_tools
x-logo:
Expand Down Expand Up @@ -297,7 +297,7 @@ paths:
- $ref: "#/components/parameters/redirect_uri"
- $ref: "#/components/parameters/scope"
responses:
"302":
"301":
description: redirect
"400":
$ref: "#/components/responses/BadRequest"
Expand Down Expand Up @@ -351,48 +351,6 @@ paths:
summary: Get all connections
tags:
- Connections
post:
description: Create a connection
operationId: connectionsCreate
parameters:
- $ref: "#/components/parameters/x-apideck-consumer-id"
- $ref: "#/components/parameters/x-apideck-app-id"
- description: Service ID of the resource to return
example: pipedrive
in: query
name: service_id
required: true
schema:
type: string
- description: Unified API
example: crm
in: query
name: unified_api
required: true
schema:
type: string
requestBody:
$ref: "#/components/requestBodies/CreateConnectionRequestBody"
responses:
"200":
$ref: "#/components/responses/UpdateConnection"
"400":
$ref: "#/components/responses/BadRequest"
"401":
$ref: "#/components/responses/Unauthorized"
"402":
$ref: "#/components/responses/PaymentRequired"
"404":
$ref: "#/components/responses/NotFound"
"422":
$ref: "#/components/responses/Unprocessable"
default:
$ref: "#/components/responses/UnexpectedError"
security:
- apiKey: []
summary: Create connection
tags:
- Connections
"/vault/connections/{unified_api}/{service_id}":
delete:
description: Deletes a connection
Expand Down Expand Up @@ -718,7 +676,7 @@ paths:
- $ref: "#/components/parameters/state"
- $ref: "#/components/parameters/redirect_uri"
responses:
"302":
"301":
description: redirect
"400":
$ref: "#/components/responses/BadRequest"
Expand Down

0 comments on commit fe4cacd

Please sign in to comment.