Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Docs
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Registry
Registry
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Competify
Docs
Commits
b47c8c5f
Commit
b47c8c5f
authored
May 28, 2018
by
Gabriel Macena
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[API] Renomeia o campo 'oid' para 'id'
parent
8ddb5aab
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
37 additions
and
37 deletions
+37
-37
CompetitionAdm.yaml
Api/CompetitionAdm.yaml
+1
-1
ExamWorflow.md
Api/ExamWorflow.md
+5
-5
responses.yaml
Api/components/responses.yaml
+1
-1
Assessment.yaml
Api/components/schemas/Assessment.yaml
+4
-4
Exam.yaml
Api/components/schemas/Exam.yaml
+12
-12
Phase.yaml
Api/components/schemas/Phase.yaml
+6
-6
Submission.yaml
Api/components/schemas/Submission.yaml
+2
-2
Subscription.yaml
Api/components/schemas/Subscription.yaml
+6
-6
No files found.
Api/CompetitionAdm.yaml
View file @
b47c8c5f
...
@@ -83,7 +83,7 @@ paths:
...
@@ -83,7 +83,7 @@ paths:
schema
:
schema
:
type
:
object
type
:
object
properties
:
properties
:
o
id
:
id
:
type
:
integer
type
:
integer
username
:
username
:
type
:
string
type
:
string
...
...
Api/ExamWorflow.md
View file @
b47c8c5f
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
{
{
"enforceSequence": false,
"enforceSequence": false,
"locationType": 0,
"locationType": 0,
"
o
id": 0,
"id": 0,
"status": 0,
"status": 0,
"submitterType": 0,
"submitterType": 0,
"type": 0,
"type": 0,
...
@@ -22,12 +22,12 @@
...
@@ -22,12 +22,12 @@
{
{
"label": "group 1",
"label": "group 1",
"weight": 0,
"weight": 0,
"
o
id": 0
"id": 0
}
}
],
],
"questions": [
"questions": [
{
{
"
o
id": 0,
"id": 0,
"order": 0,
"order": 0,
"weight": 0,
"weight": 0,
"group": 0,
"group": 0,
...
@@ -43,7 +43,7 @@
...
@@ -43,7 +43,7 @@
```json
```json
{
{
"
o
id": 0,
"id": 0,
"answers": [],
"answers": [],
"assessment": 0,
"assessment": 0,
"finishedAt": "date-time",
"finishedAt": "date-time",
...
@@ -60,7 +60,7 @@
...
@@ -60,7 +60,7 @@
```json
```json
{
{
"
o
id": 0,
"id": 0,
"answers": [
"answers": [
{
{
"choice": 0,
"choice": 0,
...
...
Api/components/responses.yaml
View file @
b47c8c5f
...
@@ -38,7 +38,7 @@ UnprocessableEntityError:
...
@@ -38,7 +38,7 @@ UnprocessableEntityError:
items
:
items
:
type
:
object
type
:
object
properties
:
properties
:
o
id
:
id
:
type
:
integer
type
:
integer
message
:
message
:
type
:
string
type
:
string
Api/components/schemas/Assessment.yaml
View file @
b47c8c5f
ScheduledEvent
:
ScheduledEvent
:
required
:
required
:
-
o
id
-
id
-
startsAt
-
startsAt
-
endsAt
-
endsAt
properties
:
properties
:
o
id
:
id
:
description
:
The object identification
description
:
The object identification
type
:
integer
type
:
integer
startsAt
:
startsAt
:
...
@@ -19,7 +19,7 @@ Assessment:
...
@@ -19,7 +19,7 @@ Assessment:
required
:
required
:
-
status
-
status
-
type
-
type
-
o
id
-
id
-
resultAvailable
-
resultAvailable
-
answerKeyAvailable
-
answerKeyAvailable
-
locationType
-
locationType
...
@@ -43,7 +43,7 @@ Assessment:
...
@@ -43,7 +43,7 @@ Assessment:
type
:
string
type
:
string
exam
:
exam
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Exam.yaml/#/Exam'
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Exam.yaml/#/Exam'
o
id
:
id
:
description
:
Object identifier
description
:
Object identifier
type
:
integer
type
:
integer
locationType
:
locationType
:
...
...
Api/components/schemas/Exam.yaml
View file @
b47c8c5f
QuestionGroup
:
QuestionGroup
:
required
:
required
:
-
o
id
-
id
-
label
-
label
-
weight
-
weight
properties
:
properties
:
o
id
:
id
:
type
:
integer
type
:
integer
label
:
label
:
type
:
string
type
:
string
...
@@ -13,17 +13,17 @@ QuestionGroup:
...
@@ -13,17 +13,17 @@ QuestionGroup:
type
:
number
type
:
number
QuestionStatement
:
QuestionStatement
:
required
:
required
:
-
o
id
-
id
-
content
-
content
properties
:
properties
:
o
id
:
id
:
type
:
integer
type
:
integer
content
:
content
:
type
:
string
type
:
string
Question
:
Question
:
required
:
required
:
-
type
-
type
-
o
id
-
id
-
group
-
group
-
order
-
order
-
weight
-
weight
...
@@ -37,7 +37,7 @@ Question:
...
@@ -37,7 +37,7 @@ Question:
-
OBJECTIVE
-
OBJECTIVE
statement
:
statement
:
$ref
:
'
#/QuestionStatement'
$ref
:
'
#/QuestionStatement'
o
id
:
id
:
description
:
object identifier of this Question
description
:
object identifier of this Question
type
:
integer
type
:
integer
group
:
group
:
...
@@ -82,11 +82,11 @@ ObjectiveQuestion:
...
@@ -82,11 +82,11 @@ ObjectiveQuestion:
ExamCover
:
ExamCover
:
required
:
required
:
-
content
-
content
-
o
id
-
id
properties
:
properties
:
content
:
content
:
type
:
string
type
:
string
o
id
:
id
:
type
:
integer
type
:
integer
Exam
:
Exam
:
required
:
required
:
...
@@ -94,7 +94,7 @@ Exam:
...
@@ -94,7 +94,7 @@ Exam:
-
title
-
title
-
groups
-
groups
-
questions
-
questions
-
o
id
-
id
properties
:
properties
:
type
:
type
:
type
:
string
type
:
string
...
@@ -115,14 +115,14 @@ Exam:
...
@@ -115,14 +115,14 @@ Exam:
oneOf
:
oneOf
:
-
$ref
:
'
#/SubjectiveQuestion'
-
$ref
:
'
#/SubjectiveQuestion'
-
$ref
:
'
#/ObjectiveQuestion'
-
$ref
:
'
#/ObjectiveQuestion'
o
id
:
id
:
description
:
Object identifier
description
:
Object identifier
type
:
integer
type
:
integer
Alternative
:
Alternative
:
required
:
required
:
-
order
-
order
-
statement
-
statement
-
o
id
-
id
properties
:
properties
:
order
:
order
:
title
:
order
title
:
order
...
@@ -131,7 +131,7 @@ Alternative:
...
@@ -131,7 +131,7 @@ Alternative:
statement
:
statement
:
description
:
the alternative statement
description
:
the alternative statement
type
:
string
type
:
string
o
id
:
id
:
description
:
Object identifier
description
:
Object identifier
type
:
integer
type
:
integer
ExamQuestionComplaint
:
ExamQuestionComplaint
:
...
...
Api/components/schemas/Phase.yaml
View file @
b47c8c5f
...
@@ -2,11 +2,11 @@ Competition:
...
@@ -2,11 +2,11 @@ Competition:
required
:
required
:
-
subscriptionConf
-
subscriptionConf
-
name
-
name
-
o
id
-
id
properties
:
properties
:
name
:
name
:
type
:
string
type
:
string
o
id
:
id
:
type
:
integer
type
:
integer
subscriptionConf
:
subscriptionConf
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Subscription.yaml/#/SubscriptionRule'
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Subscription.yaml/#/SubscriptionRule'
...
@@ -27,7 +27,7 @@ Phase:
...
@@ -27,7 +27,7 @@ Phase:
-
FINAL
-
FINAL
status
:
status
:
type
:
integer
type
:
integer
o
id
:
id
:
type
:
integer
type
:
integer
events
:
events
:
type
:
array
type
:
array
...
@@ -88,7 +88,7 @@ ClassificationRule:
...
@@ -88,7 +88,7 @@ ClassificationRule:
required
:
required
:
-
type
-
type
properties
:
properties
:
o
id
:
id
:
type
:
integer
type
:
integer
type
:
type
:
type
:
string
type
:
string
...
@@ -104,7 +104,7 @@ EvaluationRule:
...
@@ -104,7 +104,7 @@ EvaluationRule:
required
:
required
:
-
expression
-
expression
properties
:
properties
:
o
id
:
id
:
type
:
integer
type
:
integer
expression
:
expression
:
type
:
string
type
:
string
...
@@ -112,7 +112,7 @@ TieBreakCriteria:
...
@@ -112,7 +112,7 @@ TieBreakCriteria:
required
:
required
:
-
type
-
type
properties
:
properties
:
o
id
:
id
:
type
:
integer
type
:
integer
type
:
type
:
type
:
integer
type
:
integer
...
...
Api/components/schemas/Submission.yaml
View file @
b47c8c5f
AssessmentSubmission
:
AssessmentSubmission
:
properties
:
properties
:
assessment
:
assessment
:
description
:
The
o
id assessment that this submission refers to
description
:
The id assessment that this submission refers to
type
:
integer
type
:
integer
type
:
type
:
type
:
string
type
:
string
...
@@ -14,7 +14,7 @@ AssessmentSubmission:
...
@@ -14,7 +14,7 @@ AssessmentSubmission:
type
:
string
type
:
string
competifier
:
competifier
:
type
:
integer
type
:
integer
description
:
The
o
id of the competifier that this submission refers to
description
:
The id of the competifier that this submission refers to
discriminator
:
discriminator
:
propertyName
:
type
propertyName
:
type
HandmadeAssessmentSubmission
:
HandmadeAssessmentSubmission
:
...
...
Api/components/schemas/Subscription.yaml
View file @
b47c8c5f
...
@@ -29,7 +29,7 @@ Subscription:
...
@@ -29,7 +29,7 @@ Subscription:
-
PREP
-
PREP
-
OPEN
-
OPEN
-
CLOSED
-
CLOSED
o
id
:
id
:
type
:
integer
type
:
integer
discriminator
:
discriminator
:
propertyName
:
type
propertyName
:
type
...
@@ -51,7 +51,7 @@ SubscriptionSubmission:
...
@@ -51,7 +51,7 @@ SubscriptionSubmission:
-
WAITING_REVIEW
-
WAITING_REVIEW
-
ACCEPTED
-
ACCEPTED
-
REJECTED
-
REJECTED
o
id
:
id
:
type
:
integer
type
:
integer
type
:
type
:
type
:
string
type
:
string
...
@@ -97,7 +97,7 @@ FormTemplate:
...
@@ -97,7 +97,7 @@ FormTemplate:
type
:
array
type
:
array
items
:
items
:
$ref
:
'
#/FormField'
$ref
:
'
#/FormField'
o
id
:
id
:
type
:
integer
type
:
integer
FormField
:
FormField
:
required
:
required
:
...
@@ -128,7 +128,7 @@ FormField:
...
@@ -128,7 +128,7 @@ FormField:
-
TEAM_NAME
-
TEAM_NAME
-
EMAIL
-
EMAIL
-
OTHER
-
OTHER
o
id
:
id
:
type
:
integer
type
:
integer
FormAnswer
:
FormAnswer
:
title
:
Root Type for FormAnswer
title
:
Root Type for FormAnswer
...
@@ -144,7 +144,7 @@ FormAnswer:
...
@@ -144,7 +144,7 @@ FormAnswer:
type
:
string
type
:
string
error
:
error
:
type
:
string
type
:
string
o
id
:
id
:
type
:
integer
type
:
integer
SubscriptionSection
:
SubscriptionSection
:
title
:
Root Type for SubscriptionSection
title
:
Root Type for SubscriptionSection
...
@@ -161,7 +161,7 @@ SubscriptionSection:
...
@@ -161,7 +161,7 @@ SubscriptionSection:
type
:
array
type
:
array
items
:
items
:
$ref
:
'
#/FormAnswer'
$ref
:
'
#/FormAnswer'
o
id
:
id
:
type
:
integer
type
:
integer
type
:
type
:
type
:
string
type
:
string
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment