Commit 89338d7b authored by Isaac Pereira's avatar Isaac Pereira

[API] Remove rotas não utilizadas na seção de Phases

parent c0ad8a70
...@@ -818,88 +818,88 @@ paths: ...@@ -818,88 +818,88 @@ paths:
schema: schema:
format: int32 format: int32
type: integer type: integer
'/phases/{phaseId}/events': # '/phases/{phaseId}/events':
get: # get:
tags: # tags:
- phases # - phases
summary: Retrieves all Events for the Phase # summary: Retrieves all Events for the Phase
responses: # responses:
'200': # '200':
description: '' # description: ''
content: # content:
application/json: # application/json:
schema: # schema:
type: array # type: array
items: # items:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/PhaseEvent' # $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/PhaseEvent'
post: # post:
tags: # tags:
- phases # - phases
summary: Creates a new Event for the Phase # summary: Creates a new Event for the Phase
requestBody: # requestBody:
content: # content:
application/json: # application/json:
schema: # schema:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/PhaseEvent' # $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/PhaseEvent'
required: true # required: true
responses: # responses:
'200': # '200':
description: '' # description: ''
content: # content:
application/json: # application/json:
schema: # schema:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/PhaseEvent' # $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/PhaseEvent'
parameters: # parameters:
- name: phaseId # - name: phaseId
in: path # in: path
required: true # required: true
schema: # schema:
format: int32 # format: int32
type: integer # type: integer
'/phases/{phaseId}/events/{eventId}': # '/phases/{phaseId}/events/{eventId}':
get: # get:
tags: # tags:
- phases # - phases
summary: Retrieves the specific Event # summary: Retrieves the specific Event
responses: # responses:
'200': # '200':
description: '' # description: ''
content: # content:
application/json: # application/json:
schema: # schema:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/PhaseEvent' # $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/PhaseEvent'
patch: # patch:
tags: # tags:
- phases # - phases
summary: Updates the specific Event # summary: Updates the specific Event
requestBody: # requestBody:
content: # content:
application/json-patch+json: # application/json-patch+json:
schema: # schema:
type: array # type: array
items: # items:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/JsonPatch' # $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/JsonPatch'
required: true # required: true
responses: # responses:
'200': # '200':
description: '' # description: ''
content: # content:
application/json: # application/json:
schema: # schema:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/PhaseEvent' # $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/PhaseEvent'
parameters: # parameters:
- name: phaseId # - name: phaseId
in: path # in: path
required: true # required: true
schema: # schema:
format: int32 # format: int32
type: integer # type: integer
- name: eventId # - name: eventId
in: path # in: path
required: true # required: true
schema: # schema:
format: int32 # format: int32
type: integer # type: integer
'/phases/{phaseId}/assessments': '/phases/{phaseId}/assessments':
get: get:
tags: tags:
...@@ -996,62 +996,62 @@ paths: ...@@ -996,62 +996,62 @@ paths:
schema: schema:
format: int32 format: int32
type: integer type: integer
'/phases/{phaseId}/assessments/{assessmentId}/questions': # '/phases/{phaseId}/assessments/{assessmentId}/questions':
get: # get:
tags: # tags:
- phases # - phases
summary: Retrieves all Questions of a specific Assessment # summary: Retrieves all Questions of a specific Assessment
responses: # responses:
'200': # '200':
description: '' # description: ''
content: # content:
application/json: # application/json:
schema: # schema:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/Question' # $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/Question'
parameters: # parameters:
- name: phaseId # - name: phaseId
in: path # in: path
required: true # required: true
schema: # schema:
format: int32 # format: int32
type: integer # type: integer
- name: assessmentId # - name: assessmentId
in: path # in: path
required: true # required: true
schema: # schema:
format: int32 # format: int32
type: integer # type: integer
'/phases/{phaseId}/assessments/{assessmentId}/questions/{questionId}': # '/phases/{phaseId}/assessments/{assessmentId}/questions/{questionId}':
get: # get:
tags: # tags:
- phases # - phases
summary: Retrieves the specific Question # summary: Retrieves the specific Question
responses: # responses:
'200': # '200':
description: '' # description: ''
content: # content:
application/json: # application/json:
schema: # schema:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/Question' # $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/Question'
parameters: # parameters:
- name: phaseId # - name: phaseId
in: path # in: path
required: true # required: true
schema: # schema:
format: int32 # format: int32
type: integer # type: integer
- name: assessmentId # - name: assessmentId
in: path # in: path
required: true # required: true
schema: # schema:
format: int32 # format: int32
type: integer # type: integer
- name: questionId # - name: questionId
in: path # in: path
required: true # required: true
schema: # schema:
format: int32 # format: int32
type: integer # type: integer
'/phases/{phaseId}/assessments/{assessmentId}/submissions': '/phases/{phaseId}/assessments/{assessmentId}/submissions':
get: get:
tags: tags:
...@@ -1137,85 +1137,85 @@ paths: ...@@ -1137,85 +1137,85 @@ paths:
schema: schema:
format: int32 format: int32
type: integer type: integer
'/phases/{phaseId}/evaluation': # '/phases/{phaseId}/evaluation':
get: # get:
tags: # tags:
- phases # - phases
summary: Retrieves the evaluation method for the specified phase # summary: Retrieves the evaluation method for the specified phase
responses: # responses:
'200': # '200':
description: '' # description: ''
content: # content:
application/json: # application/json:
schema: # schema:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/EvaluationRule' # $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/EvaluationRule'
patch: # patch:
tags: # tags:
- phases # - phases
summary: Updates the evaluation method for the specified phase # summary: Updates the evaluation method for the specified phase
requestBody: # requestBody:
content: # content:
application/json-patch+json: # application/json-patch+json:
schema: # schema:
type: array # type: array
items: # items:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/JsonPatch' # $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/JsonPatch'
required: true # required: true
responses: # responses:
'200': # '200':
description: '' # description: ''
content: # content:
application/json: # application/json:
schema: # schema:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/EvaluationRule' # $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/EvaluationRule'
parameters: # parameters:
- name: phaseId # - name: phaseId
in: path # in: path
required: true # required: true
schema: # schema:
format: int32 # format: int32
type: integer # type: integer
'/phases/{phaseId}/classification': # '/phases/{phaseId}/classification':
get: # get:
tags: # tags:
- phases # - phases
summary: Retrieves the classification method for the specified phase # summary: Retrieves the classification method for the specified phase
responses: # responses:
'200': # '200':
description: '' # description: ''
content: # content:
application/json: # application/json:
schema: # schema:
type: object # type: object
oneOf: # oneOf:
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/MinimumPerformance' # - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/MinimumPerformance'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/BestRanked' # - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/BestRanked'
patch: # patch:
tags: # tags:
- phases # - phases
summary: Updates the classification method for the specified phase # summary: Updates the classification method for the specified phase
requestBody: # requestBody:
content: # content:
application/json-patch+json: # application/json-patch+json:
schema: # schema:
type: array # type: array
items: # items:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/JsonPatch' # $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/JsonPatch'
required: true # required: true
responses: # responses:
'200': # '200':
description: '' # description: ''
content: # content:
application/json: # application/json:
schema: # schema:
type: object # type: object
oneOf: # oneOf:
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/MinimumPerformance' # - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/MinimumPerformance'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/BestRanked' # - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/BestRanked'
parameters: # parameters:
- name: phaseId # - name: phaseId
in: path # in: path
required: true # required: true
schema: # schema:
format: int32 # format: int32
type: integer # type: integer
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment