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:
schema:
format: int32
type: integer
'/phases/{phaseId}/events':
get:
tags:
- phases
summary: Retrieves all Events for the Phase
responses:
'200':
description: ''
content:
application/json:
schema:
type: array
items:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/PhaseEvent'
post:
tags:
- phases
summary: Creates a new Event for the Phase
requestBody:
content:
application/json:
schema:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/PhaseEvent'
required: true
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/PhaseEvent'
parameters:
- name: phaseId
in: path
required: true
schema:
format: int32
type: integer
'/phases/{phaseId}/events/{eventId}':
get:
tags:
- phases
summary: Retrieves the specific Event
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/PhaseEvent'
patch:
tags:
- phases
summary: Updates the specific Event
requestBody:
content:
application/json-patch+json:
schema:
type: array
items:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/JsonPatch'
required: true
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/PhaseEvent'
parameters:
- name: phaseId
in: path
required: true
schema:
format: int32
type: integer
- name: eventId
in: path
required: true
schema:
format: int32
type: integer
# '/phases/{phaseId}/events':
# get:
# tags:
# - phases
# summary: Retrieves all Events for the Phase
# responses:
# '200':
# description: ''
# content:
# application/json:
# schema:
# type: array
# items:
# $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/PhaseEvent'
# post:
# tags:
# - phases
# summary: Creates a new Event for the Phase
# requestBody:
# content:
# application/json:
# schema:
# $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/PhaseEvent'
# required: true
# responses:
# '200':
# description: ''
# content:
# application/json:
# schema:
# $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/PhaseEvent'
# parameters:
# - name: phaseId
# in: path
# required: true
# schema:
# format: int32
# type: integer
# '/phases/{phaseId}/events/{eventId}':
# get:
# tags:
# - phases
# summary: Retrieves the specific Event
# responses:
# '200':
# description: ''
# content:
# application/json:
# schema:
# $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/PhaseEvent'
# patch:
# tags:
# - phases
# summary: Updates the specific Event
# requestBody:
# content:
# application/json-patch+json:
# schema:
# type: array
# items:
# $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/JsonPatch'
# required: true
# responses:
# '200':
# description: ''
# content:
# application/json:
# schema:
# $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/PhaseEvent'
# parameters:
# - name: phaseId
# in: path
# required: true
# schema:
# format: int32
# type: integer
# - name: eventId
# in: path
# required: true
# schema:
# format: int32
# type: integer
'/phases/{phaseId}/assessments':
get:
tags:
......@@ -996,62 +996,62 @@ paths:
schema:
format: int32
type: integer
'/phases/{phaseId}/assessments/{assessmentId}/questions':
get:
tags:
- phases
summary: Retrieves all Questions of a specific Assessment
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/Question'
parameters:
- name: phaseId
in: path
required: true
schema:
format: int32
type: integer
- name: assessmentId
in: path
required: true
schema:
format: int32
type: integer
'/phases/{phaseId}/assessments/{assessmentId}/questions/{questionId}':
get:
tags:
- phases
summary: Retrieves the specific Question
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/Question'
parameters:
- name: phaseId
in: path
required: true
schema:
format: int32
type: integer
- name: assessmentId
in: path
required: true
schema:
format: int32
type: integer
- name: questionId
in: path
required: true
schema:
format: int32
type: integer
# '/phases/{phaseId}/assessments/{assessmentId}/questions':
# get:
# tags:
# - phases
# summary: Retrieves all Questions of a specific Assessment
# responses:
# '200':
# description: ''
# content:
# application/json:
# schema:
# $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/Question'
# parameters:
# - name: phaseId
# in: path
# required: true
# schema:
# format: int32
# type: integer
# - name: assessmentId
# in: path
# required: true
# schema:
# format: int32
# type: integer
# '/phases/{phaseId}/assessments/{assessmentId}/questions/{questionId}':
# get:
# tags:
# - phases
# summary: Retrieves the specific Question
# responses:
# '200':
# description: ''
# content:
# application/json:
# schema:
# $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/Question'
# parameters:
# - name: phaseId
# in: path
# required: true
# schema:
# format: int32
# type: integer
# - name: assessmentId
# in: path
# required: true
# schema:
# format: int32
# type: integer
# - name: questionId
# in: path
# required: true
# schema:
# format: int32
# type: integer
'/phases/{phaseId}/assessments/{assessmentId}/submissions':
get:
tags:
......@@ -1137,85 +1137,85 @@ paths:
schema:
format: int32
type: integer
'/phases/{phaseId}/evaluation':
get:
tags:
- phases
summary: Retrieves the evaluation method for the specified phase
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/EvaluationRule'
patch:
tags:
- phases
summary: Updates the evaluation method for the specified phase
requestBody:
content:
application/json-patch+json:
schema:
type: array
items:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/JsonPatch'
required: true
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/EvaluationRule'
parameters:
- name: phaseId
in: path
required: true
schema:
format: int32
type: integer
'/phases/{phaseId}/classification':
get:
tags:
- phases
summary: Retrieves the classification method for the specified phase
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
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/#/BestRanked'
patch:
tags:
- phases
summary: Updates the classification method for the specified phase
requestBody:
content:
application/json-patch+json:
schema:
type: array
items:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/JsonPatch'
required: true
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
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/#/BestRanked'
parameters:
- name: phaseId
in: path
required: true
schema:
format: int32
type: integer
# '/phases/{phaseId}/evaluation':
# get:
# tags:
# - phases
# summary: Retrieves the evaluation method for the specified phase
# responses:
# '200':
# description: ''
# content:
# application/json:
# schema:
# $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/EvaluationRule'
# patch:
# tags:
# - phases
# summary: Updates the evaluation method for the specified phase
# requestBody:
# content:
# application/json-patch+json:
# schema:
# type: array
# items:
# $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/JsonPatch'
# required: true
# responses:
# '200':
# description: ''
# content:
# application/json:
# schema:
# $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/EvaluationRule'
# parameters:
# - name: phaseId
# in: path
# required: true
# schema:
# format: int32
# type: integer
# '/phases/{phaseId}/classification':
# get:
# tags:
# - phases
# summary: Retrieves the classification method for the specified phase
# responses:
# '200':
# description: ''
# content:
# application/json:
# schema:
# type: object
# 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/#/BestRanked'
# patch:
# tags:
# - phases
# summary: Updates the classification method for the specified phase
# requestBody:
# content:
# application/json-patch+json:
# schema:
# type: array
# items:
# $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/JsonPatch'
# required: true
# responses:
# '200':
# description: ''
# content:
# application/json:
# schema:
# type: object
# 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/#/BestRanked'
# parameters:
# - name: phaseId
# in: path
# required: true
# schema:
# format: int32
# 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