Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- swagger: '2.0'
- info:
- version: ''
- title: BLC
- description: |-
- # Status codes
- - 200 – OK – Eyerything is working
- - 201 – OK – New resource has been created
- - 204 – OK – The resource was successfully deleted
- - 400 – Bad Request – The request was invalid or cannot be served. The exact error should be explained in the error payload. E.g. „The JSON is not valid“
- - 401 – Unauthorized – The request requires an user authentication
- - 404 – Not found – There is no resource behind the URI.
- - 500 – Internal Server Error - Any other uncaught error.
- # Pagination
- All paginated endpoints will accept the following query string
- | Key | Default | Description |
- | --- | --- | --- |
- | `limit` | 20 | The number of results per page. |
- | `page` | 1 | The page to return. |
- And the result will contain the following
- | Key | Description |
- | --- | --- |
- | `results` | The array of results. Empty array if no results (not null). |
- | `page` | The current page. |
- | `limit` | The number of results per page. |
- | `total` | The total number of results. |
- # Updating a list of items
- Since the screens for updating a list of items have a "Save" button, that means that the user will modify the data (e.g. add/remove/update items), and then hit "Save" to make the transaction. Because of this, updating a list of items will be done with a single PUT request which contains the whole list of items after the update.
- This makes things more simple, and separate request for creating/deleting/updating items do not make much sense in this case since you have a "Save" button for saving the whole list.
- This only applies to lists of items that are not referenceable, for example studies, experience, contacts etc.
- # Updating Sessions
- The following fields can be updated for a session depending on it's state
- | State | Can be updated | Description |
- | ----------- | -------------------------------- | ------------------------------------------------------------ |
- | `Pending` | `date` | The user cannot *update* a `pending` session, he must `schedule` it. To do so, he will need to set the `date` field. |
- | `Scheduled` | `date` | The user can update the `date` of a session while it is scheduled. |
- | `Done` | `goals`, `achievements`, `files` | The user can update the `goals`, `achievements` and `files` of a session while it is done, but **not** the `date`. |
- # Model Links
- In places where a link to a model is needed, there is the `Link` model which contains an `ID` and a `name`.
- For example, when displaying a process, we need to display a column for the coachee and a column for the company. However, we do not need all details about them directly in the table, but we probably still want to let the user click on it to get more details. So in this case, you can use the `Link` model to display the column but also let the user click on it to get more details.
- # Uploading documents
- Currently, the API for uploading documents accepts the following object
- | Key | Description |
- | ------ | --------------------------- |
- | `data` | Base64 encoded file. |
- | `type` | Type of the file (e.g. pdf) |
- | `name` | The name of the file |
- The `name` and `type` here are required because the image will be uploaded by base64 encoding it, so we must send those details separately.
- This could be solved by uploding the file directly using multipart file upload. However, I am not sure if `go-swagger` can correctly generate the handler for this. So you have 3 possible options:
- - Investigate if `go-swagger` can correctly generate a handler for uploading files
- - Manually generate the handler for this case
- - Use the above object by manually setting the `type` and `name`
- host: 'localhost:3000'
- basePath: /v1
- schemes:
- - http
- consumes:
- - application/json
- produces:
- - application/json
- securityDefinitions:
- Authorization:
- name: Authorization
- type: apiKey
- in: header
- paths:
- /coach/register:
- post:
- operationId: POST_coach-register
- summary: Coach Register
- tags:
- - Register
- description: |-
- # Note
- The `photo` in `personal` is a base64 encoded image.
- parameters:
- - name: body
- in: body
- schema:
- type: object
- properties:
- token:
- type: string
- description: This is the registration token which comes from the registration link sent by email.
- password:
- type: string
- personal:
- $ref: '#/definitions/personal-info'
- studies:
- type: array
- items:
- $ref: '#/definitions/study'
- experience:
- type: array
- items:
- $ref: '#/definitions/experience'
- coachingStudies:
- type: array
- items:
- $ref: '#/definitions/study'
- coachingExperience:
- type: array
- items:
- $ref: '#/definitions/coaching-experience'
- coachingCertificates:
- type: array
- items:
- $ref: '#/definitions/coaching-certificate'
- required:
- - token
- - password
- - personal
- - studies
- - experience
- - coachingStudies
- - coachingExperience
- - coachingCertificates
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/auth-response'
- x-stoplight:
- id: POST_coach-register
- beforeScript: null
- afterScript: null
- public: true
- mock:
- enabled: false
- dynamic: false
- statusCode: 200
- /coachee/register:
- post:
- operationId: POST_coachee-register
- summary: Coachee Register
- tags:
- - Register
- description: |-
- # Note
- The `photo` in `personal` is a base64 encoded image.
- parameters:
- - name: body
- in: body
- schema:
- type: object
- properties:
- token:
- type: string
- password:
- type: string
- personal:
- $ref: '#/definitions/personal-info'
- studies:
- type: array
- items:
- $ref: '#/definitions/study'
- experience:
- type: array
- items:
- $ref: '#/definitions/experience'
- boss:
- $ref: '#/definitions/boss'
- required:
- - token
- - password
- - personal
- - studies
- - experience
- - boss
- example:
- token: TOKEN
- password: password
- personal:
- name: John
- surname: Doe
- dni: 01020304A
- phone: '888888888'
- mobile: '999999999'
- birthday: '1993-08-27'
- gender: m
- studies:
- - school: Hope's Peak Academy
- name: Bachelor's degree
- - school: Hope's Peak Academy
- name: Master's degree
- experience:
- - position: Programmer
- company: Microsoft
- sector: it
- duration: 8
- - position: Programmer
- company: Google
- sector: it
- duration: 12
- boss:
- name: John Doe
- position: CEO
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/auth-response'
- x-stoplight:
- id: POST_coachee-register
- beforeScript: null
- afterScript: null
- public: true
- mock:
- enabled: false
- dynamic: false
- statusCode: 200
- /mentee/register:
- post:
- operationId: POST_mentee-register
- summary: Mentee Register
- tags:
- - Register
- description: |-
- # Note
- The `photo` in `personal` is a base64 encoded image.
- parameters:
- - name: body
- in: body
- schema:
- type: object
- properties:
- token:
- type: string
- password:
- type: string
- personal:
- $ref: '#/definitions/personal-info'
- studies:
- type: array
- items:
- $ref: '#/definitions/study'
- experience:
- type: array
- items:
- $ref: '#/definitions/experience'
- required:
- - token
- - password
- - personal
- - studies
- - experience
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/auth-response'
- x-stoplight:
- id: POST_mentee-register
- beforeScript: null
- afterScript: null
- public: true
- mock:
- enabled: false
- dynamic: false
- statusCode: 200
- /mentor/register:
- post:
- operationId: POST_mentor-register
- summary: Mentor Register
- tags:
- - Register
- description: |-
- # Note
- The `photo` in `personal` is a base64 encoded image.
- parameters:
- - name: body
- in: body
- schema:
- type: object
- properties:
- token:
- type: string
- password:
- type: string
- personal:
- $ref: '#/definitions/personal-info'
- studies:
- type: array
- items:
- $ref: '#/definitions/study'
- experience:
- type: array
- items:
- $ref: '#/definitions/experience'
- required:
- - token
- - password
- - personal
- - studies
- - experience
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/auth-response'
- x-stoplight:
- id: POST_mentor-register
- beforeScript: null
- afterScript: null
- public: true
- mock:
- enabled: false
- dynamic: false
- statusCode: 200
- /company/register:
- post:
- operationId: POST_company-register
- summary: Company Register
- tags:
- - Register
- description: |-
- # Notes
- The company details will be entered by BLC, so the company will only have to set the password when registering.
- parameters:
- - name: body
- in: body
- schema:
- type: object
- properties:
- token:
- type: string
- password:
- type: string
- required:
- - token
- - password
- example:
- token: TOKEN
- password: password
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/auth-response'
- x-stoplight:
- id: POST_company-register
- beforeScript: null
- afterScript: null
- public: true
- mock:
- enabled: false
- dynamic: false
- statusCode: 200
- /coaching/login:
- post:
- operationId: POST_coaching-login
- summary: Coaching Login
- tags:
- - Login
- parameters:
- - name: body
- in: body
- schema:
- $ref: '#/definitions/credentials'
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/auth-response'
- x-stoplight:
- id: POST_coaching-login
- beforeScript: null
- afterScript: null
- public: true
- mock:
- enabled: false
- dynamic: false
- statusCode: 200
- /mentoring/login:
- post:
- operationId: POST_mentoring-login
- summary: Mentoring Login
- tags:
- - Login
- parameters:
- - name: body
- in: body
- schema:
- $ref: '#/definitions/credentials'
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/auth-response'
- x-stoplight:
- id: POST_mentoring-login
- beforeScript: null
- afterScript: null
- public: true
- mock:
- enabled: false
- dynamic: false
- statusCode: 200
- /password-forgot:
- post:
- operationId: POST_password-forgot
- summary: Forgot password
- tags:
- - Forgot password
- description: Sends a mail with the reset link for the given email.
- parameters:
- - name: body
- in: body
- schema:
- type: object
- properties:
- email:
- type: string
- format: email
- required:
- - email
- responses:
- '200':
- description: ''
- x-stoplight:
- id: POST_password-forgot
- beforeScript: null
- afterScript: null
- public: true
- mock:
- enabled: false
- dynamic: false
- statusCode: 200
- /password-reset:
- post:
- operationId: POST_password-reset
- summary: Reset password
- tags:
- - Forgot password
- parameters:
- - name: body
- in: body
- schema:
- type: object
- properties:
- token:
- type: string
- password:
- type: string
- required:
- - token
- - password
- responses:
- '200':
- description: ''
- x-stoplight:
- id: POST_password-reset
- beforeScript: null
- afterScript: null
- public: true
- mock:
- enabled: false
- dynamic: false
- statusCode: 200
- /user/personal:
- get:
- operationId: GET_user-personal
- summary: Get Personal Info
- tags:
- - Coach
- - Coachee
- - Mentee
- - Mentor
- - BLC
- - User
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/personal-info'
- security:
- - Authorization: []
- x-stoplight:
- id: GET_user-personal
- beforeScript: null
- afterScript: null
- public: true
- mock:
- enabled: false
- dynamic: false
- statusCode: 200
- put:
- operationId: PUT_user-personal
- summary: Update Personal Info
- tags:
- - Coach
- - Coachee
- - Mentee
- - Mentor
- - BLC
- - User
- parameters:
- - name: body
- in: body
- schema:
- $ref: '#/definitions/personal-info'
- example:
- name: qui mollit
- surname: incididunt reprehenderit tempor
- dni: nisi dolore sint qui adipisicing
- phone: ame
- mobile: esse proident commodo
- birthday: '3805-11-20'
- gender: f
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/personal-info'
- examples:
- application/json:
- name: dolor
- surname: id
- dni: dolor Duis proident aliqua
- phone: Ut dolor sint
- mobile: commodo irure aliquip deserunt
- birthday: '4179-10-02'
- gender: f
- security:
- - Authorization: []
- x-stoplight:
- id: PUT_user-personal
- beforeScript: null
- afterScript: null
- public: true
- mock:
- enabled: false
- dynamic: false
- statusCode: 200
- /user/password:
- post:
- operationId: POST_user-password
- summary: Change password
- tags:
- - BLC
- - Coach
- - Coachee
- - Mentee
- - Mentor
- - Company
- - User
- parameters:
- - name: body
- in: body
- schema:
- type: object
- properties:
- currentPassword:
- type: string
- newPassword:
- type: string
- required:
- - currentPassword
- - newPassword
- responses:
- '200':
- description: ''
- security:
- - Authorization: []
- x-stoplight:
- id: POST_user-password
- beforeScript: null
- afterScript: null
- public: true
- mock:
- enabled: false
- dynamic: false
- statusCode: 200
- /user/coaching:
- get:
- operationId: GET_user-coaching
- summary: Get Coaching
- tags:
- - Coach
- - User
- responses:
- '200':
- description: ''
- schema:
- type: object
- properties:
- studies:
- type: array
- items:
- $ref: '#/definitions/study'
- experience:
- type: array
- items:
- $ref: '#/definitions/coaching-experience'
- certificates:
- type: array
- items:
- $ref: '#/definitions/coaching-certificate'
- required:
- - studies
- - experience
- - certificates
- security:
- - Authorization: []
- x-stoplight:
- id: GET_user-coaching
- beforeScript: null
- afterScript: null
- public: true
- mock:
- enabled: false
- dynamic: false
- statusCode: 200
- put:
- operationId: PUT_user-coaching
- summary: Update Coaching
- tags:
- - Coach
- - User
- parameters:
- - name: body
- in: body
- schema:
- type: object
- properties:
- studies:
- type: array
- items:
- $ref: '#/definitions/study'
- experience:
- type: array
- items:
- $ref: '#/definitions/coaching-experience'
- certificates:
- type: array
- items:
- $ref: '#/definitions/coaching-certificate'
- required:
- - studies
- - experience
- - certificates
- example:
- studies:
- - name: p
- school: sunt
- experience:
- - sector: marketing
- company: nostrud amet sit voluptate
- id: 24612165
- - sector: it
- company: aute sit incididunt dolor
- - sector: marketing
- company: sit do ut laborum pariatur
- id: 92587902
- - sector: it
- company: Ut
- id: 1567292
- - sector: marketing
- company: ullamco
- certificates:
- - name: id ad
- grade: id ad
- hours: 71
- responses:
- '200':
- description: ''
- schema:
- type: object
- properties:
- studies:
- type: array
- items:
- $ref: '#/definitions/study'
- experience:
- type: array
- items:
- $ref: '#/definitions/coaching-experience'
- certificates:
- type: array
- items:
- $ref: '#/definitions/coaching-certificate'
- required:
- - studies
- - experience
- - certificates
- examples:
- application/json:
- studies:
- - name: mollit
- school: velit cillum in deserunt Duis
- experience:
- - sector: marketing
- company: culpa
- certificates:
- - name: Ut sint
- grade: voluptate do
- hours: 14
- security:
- - Authorization: []
- x-stoplight:
- id: PUT_user-coaching
- beforeScript: null
- afterScript: null
- public: true
- mock:
- enabled: false
- dynamic: false
- statusCode: 200
- /user/boss:
- get:
- operationId: GET_user-boss
- summary: Get Boss
- tags:
- - Coachee
- - User
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/boss'
- security:
- - Authorization: []
- x-stoplight:
- id: GET_user-boss
- beforeScript: null
- afterScript: null
- public: true
- mock:
- enabled: false
- dynamic: false
- statusCode: 200
- put:
- operationId: PUT_user-boss
- summary: Update Boss
- tags:
- - Coachee
- - User
- parameters:
- - name: body
- in: body
- schema:
- $ref: '#/definitions/boss'
- responses:
- '200':
- description: ''
- security:
- - Authorization: []
- x-stoplight:
- id: PUT_user-boss
- beforeScript: null
- afterScript: null
- public: true
- mock:
- enabled: false
- dynamic: false
- statusCode: 200
- /user/experience:
- get:
- operationId: GET_user-experience
- summary: Get Experience
- tags:
- - Coach
- - Coachee
- - Mentor
- - Mentee
- - User
- responses:
- '200':
- description: ''
- schema:
- type: array
- items:
- $ref: '#/definitions/experience'
- security:
- - Authorization: []
- x-stoplight:
- id: GET_user-experience
- beforeScript: null
- afterScript: null
- public: true
- mock:
- enabled: false
- dynamic: false
- statusCode: 200
- put:
- operationId: PUT_user-experience
- summary: Update Experience
- tags:
- - Coach
- - Coachee
- - Mentor
- - Mentee
- - User
- parameters:
- - name: body
- in: body
- schema:
- type: array
- items:
- $ref: '#/definitions/experience'
- example:
- - position: et incididunt
- company: culpa Excepteur consectetur fugiat
- sector: it
- duration: 199
- - position: fugiat nostrud ad ipsum in
- company: laborum in cupidatat Ut
- sector: it
- duration: 59
- - position: anim in officia aliqua pariatur
- company: fugiat ea dolore
- sector: marketing
- duration: 81
- responses:
- '200':
- description: ''
- schema:
- type: array
- items:
- $ref: '#/definitions/experience'
- examples:
- application/json:
- - position: minim
- company: enim deserunt dolor ea eu
- sector: it
- duration: 125
- security:
- - Authorization: []
- x-stoplight:
- id: PUT_user-experience
- beforeScript: null
- afterScript: null
- public: true
- mock:
- enabled: false
- dynamic: false
- statusCode: 200
- /user/studies:
- get:
- operationId: GET_user-studies
- summary: Get Studies
- tags:
- - Coach
- - Coachee
- - Mentor
- - Mentee
- - User
- responses:
- '200':
- description: ''
- schema:
- type: array
- items:
- $ref: '#/definitions/study'
- security:
- - Authorization: []
- x-stoplight:
- id: GET_user-studies
- beforeScript: null
- afterScript: null
- public: true
- mock:
- enabled: false
- dynamic: false
- statusCode: 200
- put:
- operationId: PUT_user-studies
- summary: Update Studies
- tags:
- - Coach
- - Coachee
- - Mentor
- - Mentee
- - User
- parameters:
- - name: body
- in: body
- schema:
- type: array
- items:
- $ref: '#/definitions/study'
- example:
- - name: sint proident
- school: culpa
- id: 94786368
- - name: U
- school: qui non elit
- - name: cupidatat dolor
- school: sint dolor
- - name: ut commodo sint eiusmod
- school: eu
- - name: elit
- school: enim fu
- id: 43167682
- responses:
- '200':
- description: ''
- schema:
- type: array
- items:
- $ref: '#/definitions/study'
- examples:
- application/json:
- - name: nisi
- school: voluptate aute
- security:
- - Authorization: []
- x-stoplight:
- id: PUT_user-studies
- beforeScript: null
- afterScript: null
- public: true
- mock:
- enabled: false
- dynamic: false
- statusCode: 200
- '/users/{id}':
- parameters:
- - name: id
- in: path
- required: true
- type: string
- get:
- operationId: GET_users-id
- summary: Get User
- tags:
- - Users
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/user'
- security:
- - Authorization: []
- x-stoplight:
- id: GET_users-id
- beforeScript: null
- afterScript: null
- public: true
- mock:
- enabled: false
- dynamic: false
- statusCode: 200
- /mentoring/programs:
- post:
- operationId: POST_mentoring-programs
- summary: Create Mentoring Program
- tags:
- - Programs
- parameters:
- - name: body
- in: body
- schema:
- type: object
- properties:
- companyId:
- type: integer
- details:
- $ref: '#/definitions/program-details'
- processes:
- type: array
- items:
- $ref: '#/definitions/process-link'
- prices:
- $ref: '#/definitions/program-prices'
- required:
- - companyId
- - details
- - processes
- - prices
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/program'
- security:
- - Authorization: []
- x-stoplight:
- id: POST_mentoring-programs
- beforeScript: null
- afterScript: null
- public: true
- mock:
- enabled: false
- dynamic: false
- statusCode: 200
- /coaching/programs:
- post:
- operationId: POST_coaching-programs
- summary: Create Coaching Program
- tags:
- - Programs
- parameters:
- - name: body
- in: body
- schema:
- type: object
- properties:
- companyId:
- type: integer
- details:
- $ref: '#/definitions/program-details'
- tripartita:
- $ref: '#/definitions/program-tripartita'
- processes:
- type: array
- items:
- $ref: '#/definitions/process-link'
- coachPrices:
- type: array
- items:
- type: object
- properties:
- email:
- type: string
- price:
- type: integer
- required:
- - email
- - price
- prices:
- $ref: '#/definitions/program-prices'
- required:
- - companyId
- - details
- - tripartita
- - processes
- - coachPrices
- - prices
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/program'
- security:
- - Authorization: []
- x-stoplight:
- id: POST_coaching-programs
- beforeScript: null
- afterScript: null
- public: true
- mock:
- enabled: false
- dynamic: false
- statusCode: 200
- '/programs/{id}':
- parameters:
- - name: id
- in: path
- required: true
- type: string
- get:
- operationId: GET_programs-id
- summary: Get Program
- tags:
- - Programs
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/program'
- security:
- - Authorization: []
- x-stoplight:
- id: GET_programs-id
- beforeScript: null
- afterScript: null
- public: true
- mock:
- enabled: false
- dynamic: false
- statusCode: 200
- /programs:
- get:
- operationId: GET_programs
- summary: List Programs
- tags:
- - Programs
- parameters:
- - $ref: '#/parameters/trait:paginable:limit'
- - $ref: '#/parameters/trait:paginable:page'
- responses:
- '200':
- description: ''
- schema:
- type: object
- properties:
- results:
- $ref: '#/definitions/programs'
- page:
- type: integer
- limit:
- type: integer
- total:
- type: integer
- required:
- - results
- - page
- - limit
- - total
- security:
- - Authorization: []
- x-stoplight:
- id: GET_programs
- beforeScript: null
- afterScript: null
- public: true
- mock:
- enabled: false
- dynamic: false
- statusCode: 200
- '/programs/{programId}/processes/{id}/accept-contract':
- parameters:
- - name: programId
- in: path
- required: true
- type: string
- - name: id
- in: path
- required: true
- type: string
- post:
- operationId: POST_programs-programId-processes-id-accept-contract
- summary: Accept contract
- tags:
- - Processes
- responses:
- '200':
- description: ''
- security:
- - Authorization: []
- x-stoplight:
- id: POST_programs-programId-processes-id-accept-contract
- beforeScript: null
- afterScript: null
- public: true
- mock:
- enabled: false
- dynamic: false
- statusCode: 200
- '/programs/{programId}/process/{id}':
- parameters:
- - name: programId
- in: path
- required: true
- type: string
- - name: id
- in: path
- required: true
- type: string
- get:
- operationId: GET_programs-programId-process-id
- summary: Get Process
- tags:
- - Processes
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/process'
- security:
- - Authorization: []
- x-stoplight:
- id: GET_programs-programId-process-id
- beforeScript: null
- afterScript: null
- public: true
- mock:
- enabled: false
- dynamic: false
- statusCode: 200
- '/programs/{id}/processes':
- parameters:
- - name: id
- in: path
- required: true
- type: string
- get:
- operationId: GET_programs-id-processes
- summary: List Processes
- tags:
- - Processes
- parameters:
- - $ref: '#/parameters/trait:paginable:limit'
- - $ref: '#/parameters/trait:paginable:page'
- responses:
- '200':
- description: ''
- schema:
- type: object
- properties:
- results:
- $ref: '#/definitions/processes'
- page:
- type: integer
- limit:
- type: integer
- total:
- type: integer
- required:
- - results
- - page
- - limit
- - total
- security:
- - Authorization: []
- x-stoplight:
- id: GET_programs-id-processes
- beforeScript: null
- afterScript: null
- public: true
- mock:
- enabled: false
- dynamic: false
- statusCode: 200
- '/programs/{programId}/processes/{processId}/sessions/{id}':
- parameters:
- - name: programId
- in: path
- required: true
- type: string
- - name: processId
- in: path
- required: true
- type: string
- - name: id
- in: path
- required: true
- type: string
- get:
- operationId: GET_programs-programId-processes-processId-sessions-id
- summary: Get Session
- tags:
- - Sessions
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/session'
- examples:
- application/json:
- date: null
- goals: null
- achievements: voluptate
- resources:
- - url: nostrud
- name: reprehenderit
- uploadedOn: laborum cupidatat sunt
- - id: -8374306
- name: Ut
- - id: null
- url: veniam
- name: eu
- - {}
- - {}
- security:
- - Authorization: []
- x-stoplight:
- id: GET_programs-programId-processes-processId-sessions-id
- beforeScript: null
- afterScript: null
- public: true
- mock:
- enabled: false
- dynamic: false
- statusCode: 200
- put:
- operationId: PUT_programs-programId-processes-processId-sessions-id
- summary: Update Session
- tags:
- - Sessions
- description: |-
- The fields can be updated based on the current session status, e.g. if the session is scheduled, you can only update the date, if the session is done you can update the goals and achievements but not the date etc.
- # Need more info here
- parameters:
- - name: body
- in: body
- schema:
- type: object
- properties:
- date:
- type: string
- description: Only updateable if the session is not done
- goals:
- type: string
- achievements:
- type: string
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/session'
- x-stoplight:
- id: PUT_programs-programId-processes-processId-sessions-id
- beforeScript: null
- afterScript: null
- public: true
- mock:
- enabled: false
- dynamic: false
- statusCode: 200
- '/programs/{programId}/processes/{id}/sessions':
- parameters:
- - name: programId
- in: path
- required: true
- type: string
- - name: id
- in: path
- required: true
- type: string
- get:
- operationId: GET_programs-programId-processes-id-sessions
- summary: List Sessions
- tags:
- - Sessions
- parameters:
- - $ref: '#/parameters/trait:paginable:limit'
- - $ref: '#/parameters/trait:paginable:page'
- responses:
- '200':
- description: ''
- schema:
- type: object
- properties:
- results:
- $ref: '#/definitions/sessions'
- page:
- type: integer
- limit:
- type: integer
- total:
- type: integer
- required:
- - results
- - page
- - limit
- - total
- examples:
- application/json:
- results:
- - resources:
- - {}
- - url: Ut
- id: 80078596
- - id: 22888850
- uploadedOn: magna
- - uploadedOn: aute
- status: done
- goals: null
- date: '3144-02-09T07:28:56.442Z'
- page: 24101764
- limit: 19226514
- total: -38519814
- security:
- - Authorization: []
- x-stoplight:
- id: GET_programs-programId-processes-id-sessions
- beforeScript: null
- afterScript: null
- public: true
- mock:
- enabled: false
- dynamic: false
- statusCode: 200
- '/programs/{programId}/processes/{processId}/sessions/{id}/schedule':
- parameters:
- - name: programId
- in: path
- required: true
- type: string
- - name: processId
- in: path
- required: true
- type: string
- - name: id
- in: path
- required: true
- type: string
- post:
- operationId: POST_programs-programId-processes-processId-sessions-id-schedule
- summary: Schedule Session
- tags:
- - Sessions
- parameters:
- - name: body
- in: body
- schema:
- type: object
- properties:
- date:
- type: string
- format: date-time
- required:
- - date
- responses:
- '200':
- description: ''
- security:
- - Authorization: []
- x-stoplight:
- id: POST_programs-programId-processes-processId-sessions-id-schedule
- beforeScript: null
- afterScript: null
- public: true
- mock:
- enabled: false
- dynamic: false
- statusCode: 200
- '/programs/{programId}/processes/{processId}/sessions/{id}/complete':
- parameters:
- - name: programId
- in: path
- required: true
- type: string
- - name: processId
- in: path
- required: true
- type: string
- - name: id
- in: path
- required: true
- type: string
- post:
- operationId: POST_programs-programId-processes-processId-sessions-id-complete
- summary: Complete Session
- tags:
- - Sessions
- parameters:
- - name: body
- in: body
- schema:
- type: object
- properties:
- goals:
- type: string
- achievements:
- type: string
- required:
- - goals
- - achievements
- responses:
- '200':
- description: ''
- security:
- - Authorization: []
- x-stoplight:
- id: POST_programs-programId-processes-processId-sessions-id-complete
- beforeScript: null
- afterScript: null
- public: true
- mock:
- enabled: false
- dynamic: false
- statusCode: 200
- '/programs/{programId}/processes/{id}/resources':
- parameters:
- - name: programId
- in: path
- required: true
- type: string
- - name: id
- in: path
- required: true
- type: string
- get:
- operationId: GET_programs-programId-processes-id-resources
- summary: List Process Resources
- tags:
- - Resources
- parameters:
- - $ref: '#/parameters/trait:paginable:limit'
- - $ref: '#/parameters/trait:paginable:page'
- responses:
- '200':
- description: ''
- schema:
- type: object
- properties:
- results:
- $ref: '#/definitions/resources'
- page:
- type: integer
- limit:
- type: integer
- total:
- type: integer
- required:
- - results
- - page
- - limit
- - total
- security:
- - Authorization: []
- x-stoplight:
- id: GET_programs-programId-processes-id-resources
- beforeScript: null
- afterScript: null
- public: true
- mock:
- enabled: false
- dynamic: false
- statusCode: 200
- post:
- operationId: POST_programs-programId-processes-id-resources
- summary: Upload Process Resource
- tags:
- - Resources
- parameters:
- - name: body
- in: body
- schema:
- $ref: '#/definitions/resource-upload'
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/resource'
- security:
- - Authorization: []
- x-stoplight:
- id: POST_programs-programId-processes-id-resources
- beforeScript: null
- afterScript: null
- public: true
- mock:
- enabled: false
- dynamic: false
- statusCode: 200
- '/programs/{programId}/processes/{processId}/sessions/{id}/resources':
- parameters:
- - name: programId
- in: path
- required: true
- type: string
- - name: processId
- in: path
- required: true
- type: string
- - name: id
- in: path
- required: true
- type: string
- get:
- operationId: GET_programs-programId-processes-processId-sessions-id-resources
- summary: List Session Resources
- tags:
- - Resources
- parameters:
- - $ref: '#/parameters/trait:paginable:limit'
- - $ref: '#/parameters/trait:paginable:page'
- responses:
- '200':
- description: ''
- schema:
- type: object
- properties:
- results:
- $ref: '#/definitions/resources'
- page:
- type: integer
- limit:
- type: integer
- total:
- type: integer
- required:
- - results
- - page
- - limit
- - total
- security:
- - Authorization: []
- x-stoplight:
- id: GET_programs-programId-processes-processId-sessions-id-resources
- beforeScript: null
- afterScript: null
- public: true
- mock:
- enabled: false
- dynamic: false
- statusCode: 200
- post:
- operationId: POST_programs-programId-processes-processId-sessions-id-resources
- summary: Upload Session Resources
- tags:
- - Resources
- parameters:
- - name: body
- in: body
- schema:
- $ref: '#/definitions/resource-upload'
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/resource'
- security:
- - Authorization: []
- x-stoplight:
- id: POST_programs-programId-processes-processId-sessions-id-resources
- beforeScript: null
- afterScript: null
- public: true
- mock:
- enabled: false
- dynamic: false
- statusCode: 200
- '/companies/{id}':
- parameters:
- - name: id
- in: path
- required: true
- type: string
- get:
- operationId: GET_companies-id
- summary: Get Company
- tags:
- - Companies
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/company'
- security:
- - Authorization: []
- x-stoplight:
- id: GET_companies-id
- beforeScript: null
- afterScript: null
- public: true
- mock:
- enabled: false
- dynamic: false
- statusCode: 200
- /companies:
- get:
- operationId: GET_companies
- summary: List Companies
- tags:
- - Companies
- parameters:
- - $ref: '#/parameters/trait:paginable:limit'
- - $ref: '#/parameters/trait:paginable:page'
- responses:
- '200':
- description: ''
- schema:
- type: object
- properties:
- results:
- $ref: '#/definitions/companies'
- page:
- type: integer
- limit:
- type: integer
- total:
- type: integer
- required:
- - results
- - page
- - limit
- - total
- security:
- - Authorization: []
- x-stoplight:
- id: GET_companies
- beforeScript: null
- afterScript: null
- public: true
- mock:
- enabled: false
- dynamic: false
- statusCode: 200
- post:
- operationId: POST_companies
- summary: Create Company
- tags:
- - Companies
- parameters:
- - name: body
- in: body
- schema:
- type: object
- properties:
- email:
- type: string
- format: email
- details:
- $ref: '#/definitions/company-details'
- contacts:
- type: array
- items:
- $ref: '#/definitions/contact'
- required:
- - email
- - details
- - contacts
- responses:
- '201':
- description: ''
- schema:
- $ref: '#/definitions/company'
- security:
- - Authorization: []
- x-stoplight:
- id: POST_companies
- beforeScript: null
- afterScript: null
- public: true
- mock:
- enabled: false
- dynamic: false
- statusCode: 200
- /user/company-details:
- get:
- operationId: GET_user-company-details
- summary: Get Company Details
- tags:
- - Company
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/company'
- security:
- - Authorization: []
- x-stoplight:
- id: GET_user-company-details
- beforeScript: null
- afterScript: null
- public: true
- mock:
- enabled: false
- dynamic: false
- statusCode: 200
- put:
- operationId: PUT_user-company-details
- summary: Update Company Details
- tags:
- - Company
- description: |-
- # Note
- This is called by the company itself, not by BLC.
- parameters:
- - name: body
- in: body
- schema:
- $ref: '#/definitions/company'
- example:
- name: adipisicing tempor
- cif: anim ipsum
- address: sunt consectetur in ut ad
- phone: exercitation aliqua officia
- mobile: velit eiusmod Duis
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/company'
- security:
- - Authorization: []
- x-stoplight:
- id: PUT_user-company-details
- beforeScript: null
- afterScript: null
- public: true
- mock:
- enabled: false
- dynamic: false
- statusCode: 200
- /user/contacts:
- get:
- operationId: GET_user-contacts
- summary: Get Company Contacts
- tags:
- - Company
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/contacts'
- security:
- - Authorization: []
- x-stoplight:
- id: GET_user-contacts
- beforeScript: null
- afterScript: null
- public: true
- mock:
- enabled: false
- dynamic: false
- statusCode: 200
- put:
- operationId: PUT_user-contacts
- summary: Update Company Contacts
- tags:
- - Company
- parameters:
- - name: body
- in: body
- schema:
- $ref: '#/definitions/contacts'
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/contacts'
- security:
- - Authorization: []
- x-stoplight:
- id: PUT_user-contacts
- beforeScript: null
- afterScript: null
- public: true
- mock:
- enabled: false
- dynamic: false
- statusCode: 200
- parameters:
- 'trait:paginable:limit':
- name: limit
- in: query
- type: integer
- minimum: 1
- 'trait:paginable:page':
- name: page
- in: query
- type: integer
- minimum: 1
- definitions:
- error:
- title: Error
- type: object
- properties:
- message:
- type: string
- code:
- type: integer
- x-stoplight:
- id: error
- name: Error
- public: true
- user:
- title: User
- type: object
- properties:
- id:
- type: integer
- minimum: 0
- account:
- $ref: '#/definitions/account-info'
- personal:
- $ref: '#/definitions/personal-info'
- studies:
- type: array
- items:
- $ref: '#/definitions/study'
- experience:
- type: array
- items:
- $ref: '#/definitions/experience'
- coaching:
- $ref: '#/definitions/coaching-info'
- boss:
- $ref: '#/definitions/boss'
- required:
- - id
- - account
- - personal
- - studies
- - experience
- x-stoplight:
- id: user
- name: User
- public: true
- account-info:
- title: Account Info
- type: object
- required:
- - email
- properties:
- email:
- type: string
- format: email
- x-stoplight:
- id: account-info
- name: Account Info
- public: true
- coaching-info:
- title: Coaching Info
- type: object
- required:
- - studies
- - experience
- - certificates
- properties:
- studies:
- type: array
- items:
- $ref: '#/definitions/study'
- experience:
- type: array
- items:
- $ref: '#/definitions/coaching-experience'
- certificates:
- type: array
- items:
- $ref: '#/definitions/coaching-certificate'
- x-stoplight:
- id: coaching-info
- name: Coaching Info
- public: true
- boss:
- title: Boss
- type: object
- properties:
- name:
- type: string
- position:
- type: string
- required:
- - name
- - position
- x-stoplight:
- id: boss
- name: Boss
- public: true
- account-type:
- title: Account Type
- type: string
- enum:
- - coach
- - coachee
- - mentor
- - mentee
- - company
- - blc
- - admin
- x-stoplight:
- id: account-type
- name: Account Type
- public: true
- coaching-certificate:
- title: Coaching Certificate
- type: object
- properties:
- name:
- type: string
- grade:
- type: string
- hours:
- type: integer
- minimum: 1
- maximum: 256
- required:
- - name
- - grade
- - hours
- x-stoplight:
- id: coaching-certificate
- name: Coaching Certificate
- public: true
- coaching-experience:
- title: Coaching Experience
- type: object
- properties:
- sector:
- $ref: '#/definitions/sector'
- company:
- type: string
- required:
- - sector
- - company
- x-stoplight:
- id: coaching-experience
- name: Coaching Experience
- public: true
- credentials:
- title: Credentials
- type: object
- properties:
- email:
- type: string
- format: email
- password:
- type: string
- required:
- - email
- - password
- x-stoplight:
- id: credentials
- name: Credentials
- public: true
- experience:
- title: Experience
- type: object
- properties:
- position:
- type: string
- company:
- type: string
- sector:
- $ref: '#/definitions/sector'
- start:
- type: string
- description: MM/YY format
- minLength: 5
- maxLength: 5
- end:
- type: string
- description: MM/YY format
- minLength: 5
- maxLength: 5
- required:
- - position
- - company
- - sector
- - start
- - end
- x-stoplight:
- id: experience
- name: Experience
- public: true
- gender:
- title: Gender
- type: string
- enum:
- - m
- - f
- x-stoplight:
- id: gender
- name: Gender
- public: true
- personal-info:
- title: Personal Info
- type: object
- properties:
- name:
- type: string
- surname:
- type: string
- dni:
- type: string
- phone:
- type: string
- mobile:
- type: string
- birthday:
- type: string
- format: date
- gender:
- $ref: '#/definitions/gender'
- photo:
- type: string
- description: |-
- If this is returned by the API (e.g. if you request a user's details), then it will be a URL to the photo.
- If you are posting/updating the data, then it must be a base64 encoded image.
- required:
- - name
- - surname
- - dni
- - mobile
- - birthday
- - gender
- - photo
- x-stoplight:
- id: personal-info
- name: Personal Info
- public: true
- sector:
- title: Sector
- type: string
- enum:
- - it
- - marketing
- x-stoplight:
- id: sector
- name: Sector
- public: true
- study:
- title: Study
- type: object
- properties:
- name:
- type: string
- school:
- type: string
- required:
- - name
- - school
- x-stoplight:
- id: study
- name: Study
- public: true
- program-tripartita:
- title: Program Tripartita
- type: object
- properties:
- initial:
- type: boolean
- intermediate:
- type: boolean
- final:
- type: boolean
- required:
- - initial
- - intermediate
- - final
- x-stoplight:
- id: program-tripartita
- name: Program Tripartita
- public: true
- process-link:
- title: Process Link
- type: object
- properties:
- user1:
- type: string
- format: email
- user2:
- type: string
- format: email
- required:
- - user1
- - user2
- x-stoplight:
- id: process-link
- name: Process Link
- public: true
- program-details:
- title: Program Details
- type: object
- properties:
- name:
- type: string
- start:
- type: string
- format: date
- sessions:
- type: integer
- minimum: 1
- maximum: 32
- required:
- - name
- - start
- - sessions
- x-stoplight:
- id: program-details
- name: Program Details
- public: true
- programs:
- title: Programs
- type: array
- items:
- $ref: '#/definitions/program'
- x-stoplight:
- id: programs
- name: Programs
- public: true
- program:
- title: Program
- type: object
- properties:
- id:
- type: integer
- minimum: 0
- details:
- $ref: '#/definitions/program-details'
- company:
- $ref: '#/definitions/company'
- tripartita:
- $ref: '#/definitions/program-tripartita'
- required:
- - details
- - company
- - id
- x-stoplight:
- id: program
- name: Program
- public: true
- processes:
- title: Processes
- type: array
- items:
- $ref: '#/definitions/process'
- x-stoplight:
- id: processes
- name: Processes
- public: true
- process-status:
- title: Process Status
- type: string
- enum:
- - ongoing
- - done
- x-stoplight:
- id: process-status
- name: Process Status
- public: true
- process:
- title: Process
- type: object
- properties:
- id:
- type: integer
- minimum: 0
- status:
- $ref: '#/definitions/process-status'
- other:
- $ref: '#/definitions/link'
- company:
- $ref: '#/definitions/link'
- required:
- - status
- - other
- - company
- - id
- x-stoplight:
- id: process
- name: Process
- public: true
- sessions:
- title: Sessions
- type: array
- items:
- $ref: '#/definitions/session'
- x-stoplight:
- id: sessions
- name: Sessions
- public: true
- session-status:
- title: Session Status
- type: string
- enum:
- - pending
- - scheduled
- - done
- x-stoplight:
- id: session-status
- name: Session Status
- public: true
- session:
- title: Session
- allOf:
- - $ref: '#/definitions/session-details'
- - type: object
- properties:
- id:
- type: integer
- minimum: 0
- status:
- $ref: '#/definitions/session-status'
- resources:
- type: array
- items:
- $ref: '#/definitions/resource'
- required:
- - id
- - status
- - resources
- x-stoplight:
- id: session
- name: Session
- public: true
- resources:
- title: Resources
- type: array
- items:
- $ref: '#/definitions/resource'
- x-stoplight:
- id: resources
- name: Resources
- public: true
- resource:
- title: Resource
- type: object
- properties:
- id:
- type: integer
- minimum: 0
- name:
- type: string
- by:
- $ref: '#/definitions/link'
- uploadedOn:
- type: string
- format: date-time
- url:
- type: string
- format: uri
- required:
- - id
- - name
- - by
- - uploadedOn
- - url
- x-stoplight:
- id: resource
- name: Resource
- public: true
- companies:
- title: Companies
- type: array
- items:
- $ref: '#/definitions/company'
- x-stoplight:
- id: companies
- name: Companies
- public: true
- company:
- title: Company
- allOf:
- - type: object
- properties:
- id:
- type: integer
- minimum: 0
- required:
- - id
- - $ref: '#/definitions/company-details'
- x-stoplight:
- id: company
- name: Company
- public: true
- contacts:
- title: Contacts
- type: array
- items:
- $ref: '#/definitions/contact'
- x-stoplight:
- id: contacts
- name: Contacts
- public: true
- contact:
- title: Contact
- type: object
- properties:
- email:
- type: string
- format: email
- name:
- type: string
- position:
- type: string
- company:
- type: string
- sector:
- $ref: '#/definitions/sector'
- phone:
- type: string
- mobile:
- type: string
- required:
- - email
- - name
- - position
- - company
- - sector
- - mobile
- x-stoplight:
- id: contact
- name: Contact
- public: true
- auth-response:
- title: Auth Response
- type: object
- properties:
- token:
- type: string
- type:
- $ref: '#/definitions/account-type'
- required:
- - token
- - type
- x-stoplight:
- id: auth-response
- name: Auth Response
- public: true
- error-response:
- title: Error Response
- type: object
- properties:
- error:
- $ref: '#/definitions/error'
- required:
- - error
- x-stoplight:
- id: error-response
- name: Error Response
- public: true
- company-details:
- title: Company Details
- type: object
- properties:
- name:
- type: string
- cif:
- type: string
- address:
- type: string
- phone:
- type: string
- mobile:
- type: string
- required:
- - name
- - cif
- - address
- - mobile
- x-stoplight:
- id: company-details
- name: Company Details
- public: true
- program-prices:
- title: Program Prices
- type: object
- properties:
- companyPrice:
- type: integer
- minimum: 0
- coachPrice:
- type: integer
- minimum: 0
- required:
- - companyPrice
- - coachPrice
- x-stoplight:
- id: program-prices
- name: Program Prices
- public: true
- link:
- title: Link
- type: object
- properties:
- id:
- type: integer
- minimum: 0
- name:
- type: string
- required:
- - name
- - id
- x-stoplight:
- id: link
- name: Link
- public: true
- session-details:
- title: Session Details
- type: object
- properties:
- date:
- type:
- - string
- - 'null'
- format: date-time
- goals:
- type:
- - string
- - 'null'
- achievements:
- type:
- - string
- - 'null'
- x-stoplight:
- id: session-details
- name: Session Details
- public: true
- resource-upload:
- title: Resource Upload
- type: object
- properties:
- data:
- type: string
- description: Base64 encoded string of the file
- type:
- type: string
- description: The type of the file.
- name:
- type: string
- description: The name of the file.
- required:
- - data
- x-stoplight:
- id: resource-upload
- name: Resource Upload
- public: true
- x-stoplight:
- version:
- groups:
- docs:
- - divider: false
- items:
- - _id: paginable
- type: traits
- name: Traits
- description: ''
- - divider: true
- items: []
- name: API Reference
- - divider: false
- items:
- - _id: POST_coach-register
- type: endpoints
- - _id: POST_coachee-register
- type: endpoints
- - _id: POST_mentee-register
- type: endpoints
- - _id: POST_mentor-register
- type: endpoints
- - _id: POST_company-register
- type: endpoints
- name: Register
- - divider: false
- items:
- - _id: POST_coaching-login
- type: endpoints
- - _id: POST_mentoring-login
- type: endpoints
- name: Login
- - divider: false
- items:
- - _id: POST_password-forgot
- type: endpoints
- - _id: POST_password-reset
- type: endpoints
- name: Forgot password
- - divider: false
- items:
- - _id: GET_user-personal
- type: endpoints
- - _id: PUT_user-personal
- type: endpoints
- - _id: POST_user-password
- type: endpoints
- - _id: GET_user-coaching
- type: endpoints
- - _id: PUT_user-coaching
- type: endpoints
- - _id: GET_user-boss
- type: endpoints
- - _id: PUT_user-boss
- type: endpoints
- - _id: GET_user-experience
- type: endpoints
- - _id: PUT_user-experience
- type: endpoints
- - _id: GET_user-studies
- type: endpoints
- - _id: PUT_user-studies
- type: endpoints
- name: User
- description: ''
- - divider: false
- items:
- - _id: GET_users-id
- type: endpoints
- name: Users
- - divider: false
- items:
- - _id: POST_mentoring-programs
- type: endpoints
- - _id: POST_coaching-programs
- type: endpoints
- - _id: GET_programs-id
- type: endpoints
- - _id: GET_programs
- type: endpoints
- name: Programs
- description: ''
- - divider: false
- items:
- - _id: POST_programs-programId-processes-id-accept-contract
- type: endpoints
- - _id: GET_programs-programId-process-id
- type: endpoints
- - _id: GET_programs-id-processes
- type: endpoints
- name: Processes
- - divider: false
- items:
- - _id: GET_programs-programId-processes-processId-sessions-id
- type: endpoints
- - _id: GET_programs-programId-processes-id-sessions
- type: endpoints
- - _id: POST_programs-programId-processes-processId-sessions-id-schedule
- type: endpoints
- - _id: POST_programs-programId-processes-processId-sessions-id-complete
- type: endpoints
- - _id: PUT_programs-programId-processes-processId-sessions-id
- type: endpoints
- description: ''
- name: Sessions
- - divider: false
- items:
- - _id: GET_programs-programId-processes-id-resources
- type: endpoints
- - _id: GET_programs-programId-processes-processId-sessions-id-resources
- type: endpoints
- - _id: POST_programs-programId-processes-processId-sessions-id-resources
- type: endpoints
- - _id: POST_programs-programId-processes-id-resources
- type: endpoints
- name: Resources
- description: ''
- - divider: false
- items:
- - _id: GET_companies-id
- type: endpoints
- - _id: GET_companies
- type: endpoints
- - _id: POST_companies
- type: endpoints
- name: Companies
- description: ''
- - divider: false
- items:
- - _id: GET_user-company-details
- type: endpoints
- - _id: PUT_user-company-details
- type: endpoints
- - _id: GET_user-contacts
- type: endpoints
- - _id: PUT_user-contacts
- type: endpoints
- name: Company
- description: ''
- - divider: true
- items: []
- name: Models
- - divider: false
- items:
- - _id: link
- type: schemas
- - _id: error
- type: schemas
- name: Generic
- - divider: false
- items:
- - _id: user
- type: schemas
- - _id: study
- type: schemas
- - _id: sector
- type: schemas
- - _id: personal-info
- type: schemas
- - _id: gender
- type: schemas
- - _id: coaching-info
- type: schemas
- - _id: coaching-experience
- type: schemas
- - _id: coaching-certificate
- type: schemas
- - _id: experience
- type: schemas
- - _id: credentials
- type: schemas
- - _id: boss
- type: schemas
- - _id: account-type
- type: schemas
- - _id: account-info
- type: schemas
- name: Accounts
- - divider: false
- items:
- - _id: program-prices
- type: schemas
- - _id: program-tripartita
- type: schemas
- - _id: programs
- type: schemas
- - _id: program-details
- type: schemas
- - _id: program
- type: schemas
- name: Programs
- - divider: false
- items:
- - _id: process-status
- type: schemas
- - _id: process-link
- type: schemas
- - _id: process
- type: schemas
- - _id: processes
- type: schemas
- name: Processes
- - divider: false
- items:
- - _id: company
- type: schemas
- - _id: company-details
- type: schemas
- - _id: contacts
- type: schemas
- - _id: contact
- type: schemas
- - _id: companies
- type: schemas
- name: Companies
- - divider: false
- items:
- - _id: session-status
- type: schemas
- - _id: session
- type: schemas
- - _id: session-details
- type: schemas
- - _id: sessions
- type: schemas
- name: Sessions
- - divider: false
- items:
- - _id: resource-upload
- type: schemas
- - _id: resource
- type: schemas
- - _id: resources
- type: schemas
- name: Resources
- - divider: false
- items:
- - _id: auth-response
- type: schemas
- - _id: error-response
- type: schemas
- name: Responses
- traits: []
- tests: []
- savedEntries: []
- functions: {}
- textSections:
- authentication:
- id: authentication
- name: Authentication
- content: |-
- The authentication is done trough a JWT Token inside the `Authorization` header.
- ```
- Authorization: Bearer <TOKEN>
- ```
- public: true
- mock:
- enabled: true
- dynamic: false
- x-tests: {}
Add Comment
Please, Sign In to add comment