refactor: standardize v2 docs (#22299)
This commit is contained in:
1 parent
585a12fa48
commit
6091208f8a
9 files changed
+1148
-3582
No files matched your search
@@ -3447,7 +3447,7 @@
|
||||
"/v2/organizations/{orgId}/teams/{teamId}/bookings/{bookingUid}/references": {
|
||||
"get": {
|
||||
"operationId": "OrganizationsTeamsBookingsController_getBookingReferences",
|
||||
"summary": "Get 'Booking References' for a booking",
|
||||
"summary": "Get booking references",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "Authorization",
|
||||
@@ -5133,6 +5133,147 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"/v2/organizations/{orgId}/teams/{teamId}/stripe/connect": {
|
||||
"get": {
|
||||
"operationId": "OrganizationsStripeController_getTeamStripeConnectUrl",
|
||||
"summary": "Get Stripe connect URL for a team",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "Authorization",
|
||||
"required": true,
|
||||
"in": "header",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "teamId",
|
||||
"required": true,
|
||||
"in": "path",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "orgId",
|
||||
"required": true,
|
||||
"in": "path",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "returnTo",
|
||||
"required": true,
|
||||
"in": "query",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "onErrorReturnTo",
|
||||
"required": true,
|
||||
"in": "query",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/StripConnectOutputResponseDto"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"tags": [
|
||||
"Orgs / Teams / Stripe"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/v2/organizations/{orgId}/teams/{teamId}/stripe/check": {
|
||||
"get": {
|
||||
"operationId": "OrganizationsStripeController_checkTeamStripeConnection",
|
||||
"summary": "Check team Stripe connection",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "teamId",
|
||||
"required": true,
|
||||
"in": "path",
|
||||
"schema": {
|
||||
"type": "number"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/StripCredentialsCheckOutputResponseDto"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"tags": [
|
||||
"Orgs / Teams / Stripe"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/v2/organizations/{orgId}/teams/{teamId}/stripe/save": {
|
||||
"get": {
|
||||
"operationId": "OrganizationsStripeController_save",
|
||||
"summary": "Save Stripe credentials",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "state",
|
||||
"required": true,
|
||||
"in": "query",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "code",
|
||||
"required": true,
|
||||
"in": "query",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "teamId",
|
||||
"required": true,
|
||||
"in": "path",
|
||||
"schema": {
|
||||
"type": "number"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/StripCredentialsSaveOutputResponseDto"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"tags": [
|
||||
"Orgs / Teams / Stripe"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/v2/organizations/{orgId}/teams/{teamId}/users/{userId}/schedules": {
|
||||
"get": {
|
||||
"operationId": "OrganizationsTeamsSchedulesController_getUserSchedules",
|
||||
@@ -8176,7 +8317,7 @@
|
||||
"/v2/bookings/{bookingUid}/references": {
|
||||
"get": {
|
||||
"operationId": "BookingsController_2024_08_13_getBookingReferences",
|
||||
"summary": "Get 'Booking References' for a booking",
|
||||
"summary": "Get booking references",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "cal-api-version",
|
||||
@@ -8244,7 +8385,7 @@
|
||||
"/v2/calendars/{calendar}/event/{eventUid}": {
|
||||
"get": {
|
||||
"operationId": "CalUnifiedCalendarsController_getCalendarEventDetails",
|
||||
"summary": "Get meeting Details from calendar",
|
||||
"summary": "Get meeting details from calendar",
|
||||
"description": "Returns detailed information about a meeting including attendance metrics",
|
||||
"parameters": [
|
||||
{
|
||||
@@ -10194,8 +10335,8 @@
|
||||
"/v2/organizations/{orgId}/teams/{teamId}/verified-resources/emails/verification-code/request": {
|
||||
"post": {
|
||||
"operationId": "OrgTeamsVerifiedResourcesController_requestEmailVerificationCode",
|
||||
"summary": "Request Email Verification Code",
|
||||
"description": "Sends a verification code to the email.",
|
||||
"summary": "Request email verification code",
|
||||
"description": "Sends a verification code to the email",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "Authorization",
|
||||
@@ -10237,8 +10378,8 @@
|
||||
"/v2/organizations/{orgId}/teams/{teamId}/verified-resources/phones/verification-code/request": {
|
||||
"post": {
|
||||
"operationId": "OrgTeamsVerifiedResourcesController_requestPhoneVerificationCode",
|
||||
"summary": "Request Phone Number Verification Code",
|
||||
"description": "Sends a verification code to the phone number.",
|
||||
"summary": "Request phone number verification code",
|
||||
"description": "Sends a verification code to the phone number",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "Authorization",
|
||||
@@ -10280,7 +10421,7 @@
|
||||
"/v2/organizations/{orgId}/teams/{teamId}/verified-resources/emails/verification-code/verify": {
|
||||
"post": {
|
||||
"operationId": "OrgTeamsVerifiedResourcesController_verifyEmail",
|
||||
"summary": "Verify an email for an org team.",
|
||||
"summary": "Verify an email for an org team",
|
||||
"description": "Use code to verify an email",
|
||||
"parameters": [
|
||||
{
|
||||
@@ -10331,7 +10472,7 @@
|
||||
"/v2/organizations/{orgId}/teams/{teamId}/verified-resources/phones/verification-code/verify": {
|
||||
"post": {
|
||||
"operationId": "OrgTeamsVerifiedResourcesController_verifyPhoneNumber",
|
||||
"summary": "Verify a phone number for an org team.",
|
||||
"summary": "Verify a phone number for an org team",
|
||||
"description": "Use code to verify a phone number",
|
||||
"parameters": [
|
||||
{
|
||||
@@ -10382,7 +10523,7 @@
|
||||
"/v2/organizations/{orgId}/teams/{teamId}/verified-resources/emails": {
|
||||
"get": {
|
||||
"operationId": "OrgTeamsVerifiedResourcesController_getVerifiedEmails",
|
||||
"summary": "Get list of verified emails of an org team.",
|
||||
"summary": "Get list of verified emails of an org team",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "teamId",
|
||||
@@ -10447,7 +10588,7 @@
|
||||
"/v2/organizations/{orgId}/teams/{teamId}/verified-resources/phones": {
|
||||
"get": {
|
||||
"operationId": "OrgTeamsVerifiedResourcesController_getVerifiedPhoneNumbers",
|
||||
"summary": "Get list of verified phone numbers of an org team.",
|
||||
"summary": "Get list of verified phone numbers of an org team",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "teamId",
|
||||
@@ -10512,7 +10653,7 @@
|
||||
"/v2/organizations/{orgId}/teams/{teamId}/verified-resources/emails/{id}": {
|
||||
"get": {
|
||||
"operationId": "OrgTeamsVerifiedResourcesController_getVerifiedEmailById",
|
||||
"summary": "Get verified email of an org team by id.",
|
||||
"summary": "Get verified email of an org team by id",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "id",
|
||||
@@ -10560,7 +10701,7 @@
|
||||
"/v2/organizations/{orgId}/teams/{teamId}/verified-resources/phones/{id}": {
|
||||
"get": {
|
||||
"operationId": "OrgTeamsVerifiedResourcesController_getVerifiedPhoneById",
|
||||
"summary": "Get verified phone number of an org team by id.",
|
||||
"summary": "Get verified phone number of an org team by id",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "teamId",
|
||||
@@ -10605,147 +10746,6 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"/v2/organizations/{orgId}/teams/{teamId}/stripe/connect": {
|
||||
"get": {
|
||||
"operationId": "OrganizationsStripeController_getTeamStripeConnectUrl",
|
||||
"summary": "Get Stripe connect URL for a team",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "Authorization",
|
||||
"required": true,
|
||||
"in": "header",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "teamId",
|
||||
"required": true,
|
||||
"in": "path",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "orgId",
|
||||
"required": true,
|
||||
"in": "path",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "returnTo",
|
||||
"required": true,
|
||||
"in": "query",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "onErrorReturnTo",
|
||||
"required": true,
|
||||
"in": "query",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/StripConnectOutputResponseDto"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"tags": [
|
||||
"Organizations/Teams Stripe"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/v2/organizations/{orgId}/teams/{teamId}/stripe/check": {
|
||||
"get": {
|
||||
"operationId": "OrganizationsStripeController_checkTeamStripeConnection",
|
||||
"summary": "Check team Stripe connection",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "teamId",
|
||||
"required": true,
|
||||
"in": "path",
|
||||
"schema": {
|
||||
"type": "number"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/StripCredentialsCheckOutputResponseDto"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"tags": [
|
||||
"Organizations/Teams Stripe"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/v2/organizations/{orgId}/teams/{teamId}/stripe/save": {
|
||||
"get": {
|
||||
"operationId": "OrganizationsStripeController_save",
|
||||
"summary": "Save Stripe credentials",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "state",
|
||||
"required": true,
|
||||
"in": "query",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "code",
|
||||
"required": true,
|
||||
"in": "query",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "teamId",
|
||||
"required": true,
|
||||
"in": "path",
|
||||
"schema": {
|
||||
"type": "number"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/StripCredentialsSaveOutputResponseDto"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"tags": [
|
||||
"Organizations/Teams Stripe"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/v2/routing-forms/{routingFormId}/calculate-slots": {
|
||||
"post": {
|
||||
"operationId": "RoutingFormsController_calculateSlotsBasedOnRoutingFormResponse",
|
||||
@@ -12519,8 +12519,8 @@
|
||||
"/v2/teams/{teamId}/verified-resources/emails/verification-code/request": {
|
||||
"post": {
|
||||
"operationId": "TeamsVerifiedResourcesController_requestEmailVerificationCode",
|
||||
"summary": "Request Email Verification Code",
|
||||
"description": "Sends a verification code to the Email.",
|
||||
"summary": "Request email verification code",
|
||||
"description": "Sends a verification code to the Email",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "Authorization",
|
||||
@@ -12562,8 +12562,8 @@
|
||||
"/v2/teams/{teamId}/verified-resources/phones/verification-code/request": {
|
||||
"post": {
|
||||
"operationId": "TeamsVerifiedResourcesController_requestPhoneVerificationCode",
|
||||
"summary": "Request Phone Number Verification Code",
|
||||
"description": "Sends a verification code to the phone number.",
|
||||
"summary": "Request phone number verification code",
|
||||
"description": "Sends a verification code to the phone number",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "Authorization",
|
||||
@@ -12605,7 +12605,7 @@
|
||||
"/v2/teams/{teamId}/verified-resources/emails/verification-code/verify": {
|
||||
"post": {
|
||||
"operationId": "TeamsVerifiedResourcesController_verifyEmail",
|
||||
"summary": "Verify an email for a team.",
|
||||
"summary": "Verify an email for a team",
|
||||
"description": "Use code to verify an email",
|
||||
"parameters": [
|
||||
{
|
||||
@@ -12656,7 +12656,7 @@
|
||||
"/v2/teams/{teamId}/verified-resources/phones/verification-code/verify": {
|
||||
"post": {
|
||||
"operationId": "TeamsVerifiedResourcesController_verifyPhoneNumber",
|
||||
"summary": "Verify a phone number for an org team.",
|
||||
"summary": "Verify a phone number for an org team",
|
||||
"description": "Use code to verify a phone number",
|
||||
"parameters": [
|
||||
{
|
||||
@@ -12707,7 +12707,7 @@
|
||||
"/v2/teams/{teamId}/verified-resources/emails": {
|
||||
"get": {
|
||||
"operationId": "TeamsVerifiedResourcesController_getVerifiedEmails",
|
||||
"summary": "Get list of verified emails of a team.",
|
||||
"summary": "Get list of verified emails of a team",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "teamId",
|
||||
@@ -12772,7 +12772,7 @@
|
||||
"/v2/teams/{teamId}/verified-resources/phones": {
|
||||
"get": {
|
||||
"operationId": "TeamsVerifiedResourcesController_getVerifiedPhoneNumbers",
|
||||
"summary": "Get list of verified phone numbers of a team.",
|
||||
"summary": "Get list of verified phone numbers of a team",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "teamId",
|
||||
@@ -12837,7 +12837,7 @@
|
||||
"/v2/teams/{teamId}/verified-resources/emails/{id}": {
|
||||
"get": {
|
||||
"operationId": "TeamsVerifiedResourcesController_getVerifiedEmailById",
|
||||
"summary": "Get verified email of a team by id.",
|
||||
"summary": "Get verified email of a team by id",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "id",
|
||||
@@ -12885,7 +12885,7 @@
|
||||
"/v2/teams/{teamId}/verified-resources/phones/{id}": {
|
||||
"get": {
|
||||
"operationId": "TeamsVerifiedResourcesController_getVerifiedPhoneById",
|
||||
"summary": "Get verified phone number of a team by id.",
|
||||
"summary": "Get verified phone number of a team by id",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "teamId",
|
||||
@@ -12933,8 +12933,8 @@
|
||||
"/v2/verified-resources/emails/verification-code/request": {
|
||||
"post": {
|
||||
"operationId": "UserVerifiedResourcesController_requestEmailVerificationCode",
|
||||
"summary": "Request Email Verification Code",
|
||||
"description": "Sends a verification code to the email.",
|
||||
"summary": "Request email verification code",
|
||||
"description": "Sends a verification code to the email",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "Authorization",
|
||||
@@ -12976,8 +12976,8 @@
|
||||
"/v2/verified-resources/phones/verification-code/request": {
|
||||
"post": {
|
||||
"operationId": "UserVerifiedResourcesController_requestPhoneVerificationCode",
|
||||
"summary": "Request Phone Number Verification Code",
|
||||
"description": "Sends a verification code to the phone number.",
|
||||
"summary": "Request phone number verification code",
|
||||
"description": "Sends a verification code to the phone number",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "Authorization",
|
||||
@@ -13019,7 +13019,7 @@
|
||||
"/v2/verified-resources/emails/verification-code/verify": {
|
||||
"post": {
|
||||
"operationId": "UserVerifiedResourcesController_verifyEmail",
|
||||
"summary": "Verify an email.",
|
||||
"summary": "Verify an email",
|
||||
"description": "Use code to verify an email",
|
||||
"parameters": [
|
||||
{
|
||||
@@ -13062,7 +13062,7 @@
|
||||
"/v2/verified-resources/phones/verification-code/verify": {
|
||||
"post": {
|
||||
"operationId": "UserVerifiedResourcesController_verifyPhoneNumber",
|
||||
"summary": "Verify a phone number.",
|
||||
"summary": "Verify a phone number",
|
||||
"description": "Use code to verify a phone number",
|
||||
"parameters": [
|
||||
{
|
||||
@@ -13105,7 +13105,7 @@
|
||||
"/v2/verified-resources/emails": {
|
||||
"get": {
|
||||
"operationId": "UserVerifiedResourcesController_getVerifiedEmails",
|
||||
"summary": "Get list of verified emails.",
|
||||
"summary": "Get list of verified emails",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "take",
|
||||
@@ -13162,7 +13162,7 @@
|
||||
"/v2/verified-resources/phones": {
|
||||
"get": {
|
||||
"operationId": "UserVerifiedResourcesController_getVerifiedPhoneNumbers",
|
||||
"summary": "Get list of verified phone numbers.",
|
||||
"summary": "Get list of verified phone numbers",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "take",
|
||||
@@ -13219,7 +13219,7 @@
|
||||
"/v2/verified-resources/emails/{id}": {
|
||||
"get": {
|
||||
"operationId": "UserVerifiedResourcesController_getVerifiedEmailById",
|
||||
"summary": "Get verified email by id.",
|
||||
"summary": "Get verified email by id",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "id",
|
||||
@@ -13259,7 +13259,7 @@
|
||||
"/v2/verified-resources/phones/{id}": {
|
||||
"get": {
|
||||
"operationId": "UserVerifiedResourcesController_getVerifiedPhoneById",
|
||||
"summary": "Get verified phone number by id.",
|
||||
"summary": "Get verified phone number by id",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "id",
|
||||
|
||||
Reference in new issue
Block a user