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
Hide 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:
schema
:
type
:
object
properties
:
o
id
:
id
:
type
:
integer
username
:
type
:
string
...
...
Api/ExamWorflow.md
View file @
b47c8c5f
...
...
@@ -6,7 +6,7 @@
{
"enforceSequence": false,
"locationType": 0,
"
o
id": 0,
"id": 0,
"status": 0,
"submitterType": 0,
"type": 0,
...
...
@@ -22,12 +22,12 @@
{
"label": "group 1",
"weight": 0,
"
o
id": 0
"id": 0
}
],
"questions": [
{
"
o
id": 0,
"id": 0,
"order": 0,
"weight": 0,
"group": 0,
...
...
@@ -43,7 +43,7 @@
```json
{
"
o
id": 0,
"id": 0,
"answers": [],
"assessment": 0,
"finishedAt": "date-time",
...
...
@@ -60,7 +60,7 @@
```json
{
"
o
id": 0,
"id": 0,
"answers": [
{
"choice": 0,
...
...
Api/components/responses.yaml
View file @
b47c8c5f
...
...
@@ -38,7 +38,7 @@ UnprocessableEntityError:
items
:
type
:
object
properties
:
o
id
:
id
:
type
:
integer
message
:
type
:
string
Api/components/schemas/Assessment.yaml
View file @
b47c8c5f
ScheduledEvent
:
required
:
-
o
id
-
id
-
startsAt
-
endsAt
properties
:
o
id
:
id
:
description
:
The object identification
type
:
integer
startsAt
:
...
...
@@ -19,7 +19,7 @@ Assessment:
required
:
-
status
-
type
-
o
id
-
id
-
resultAvailable
-
answerKeyAvailable
-
locationType
...
...
@@ -43,7 +43,7 @@ Assessment:
type
:
string
exam
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Exam.yaml/#/Exam'
o
id
:
id
:
description
:
Object identifier
type
:
integer
locationType
:
...
...
Api/components/schemas/Exam.yaml
View file @
b47c8c5f
QuestionGroup
:
required
:
-
o
id
-
id
-
label
-
weight
properties
:
o
id
:
id
:
type
:
integer
label
:
type
:
string
...
...
@@ -13,17 +13,17 @@ QuestionGroup:
type
:
number
QuestionStatement
:
required
:
-
o
id
-
id
-
content
properties
:
o
id
:
id
:
type
:
integer
content
:
type
:
string
Question
:
required
:
-
type
-
o
id
-
id
-
group
-
order
-
weight
...
...
@@ -37,7 +37,7 @@ Question:
-
OBJECTIVE
statement
:
$ref
:
'
#/QuestionStatement'
o
id
:
id
:
description
:
object identifier of this Question
type
:
integer
group
:
...
...
@@ -82,11 +82,11 @@ ObjectiveQuestion:
ExamCover
:
required
:
-
content
-
o
id
-
id
properties
:
content
:
type
:
string
o
id
:
id
:
type
:
integer
Exam
:
required
:
...
...
@@ -94,7 +94,7 @@ Exam:
-
title
-
groups
-
questions
-
o
id
-
id
properties
:
type
:
type
:
string
...
...
@@ -115,14 +115,14 @@ Exam:
oneOf
:
-
$ref
:
'
#/SubjectiveQuestion'
-
$ref
:
'
#/ObjectiveQuestion'
o
id
:
id
:
description
:
Object identifier
type
:
integer
Alternative
:
required
:
-
order
-
statement
-
o
id
-
id
properties
:
order
:
title
:
order
...
...
@@ -131,7 +131,7 @@ Alternative:
statement
:
description
:
the alternative statement
type
:
string
o
id
:
id
:
description
:
Object identifier
type
:
integer
ExamQuestionComplaint
:
...
...
Api/components/schemas/Phase.yaml
View file @
b47c8c5f
...
...
@@ -2,11 +2,11 @@ Competition:
required
:
-
subscriptionConf
-
name
-
o
id
-
id
properties
:
name
:
type
:
string
o
id
:
id
:
type
:
integer
subscriptionConf
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Subscription.yaml/#/SubscriptionRule'
...
...
@@ -27,7 +27,7 @@ Phase:
-
FINAL
status
:
type
:
integer
o
id
:
id
:
type
:
integer
events
:
type
:
array
...
...
@@ -88,7 +88,7 @@ ClassificationRule:
required
:
-
type
properties
:
o
id
:
id
:
type
:
integer
type
:
type
:
string
...
...
@@ -104,7 +104,7 @@ EvaluationRule:
required
:
-
expression
properties
:
o
id
:
id
:
type
:
integer
expression
:
type
:
string
...
...
@@ -112,7 +112,7 @@ TieBreakCriteria:
required
:
-
type
properties
:
o
id
:
id
:
type
:
integer
type
:
type
:
integer
...
...
Api/components/schemas/Submission.yaml
View file @
b47c8c5f
AssessmentSubmission
:
properties
:
assessment
:
description
:
The
o
id assessment that this submission refers to
description
:
The id assessment that this submission refers to
type
:
integer
type
:
type
:
string
...
...
@@ -14,7 +14,7 @@ AssessmentSubmission:
type
:
string
competifier
:
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
:
propertyName
:
type
HandmadeAssessmentSubmission
:
...
...
Api/components/schemas/Subscription.yaml
View file @
b47c8c5f
...
...
@@ -29,7 +29,7 @@ Subscription:
-
PREP
-
OPEN
-
CLOSED
o
id
:
id
:
type
:
integer
discriminator
:
propertyName
:
type
...
...
@@ -51,7 +51,7 @@ SubscriptionSubmission:
-
WAITING_REVIEW
-
ACCEPTED
-
REJECTED
o
id
:
id
:
type
:
integer
type
:
type
:
string
...
...
@@ -97,7 +97,7 @@ FormTemplate:
type
:
array
items
:
$ref
:
'
#/FormField'
o
id
:
id
:
type
:
integer
FormField
:
required
:
...
...
@@ -128,7 +128,7 @@ FormField:
-
TEAM_NAME
-
EMAIL
-
OTHER
o
id
:
id
:
type
:
integer
FormAnswer
:
title
:
Root Type for FormAnswer
...
...
@@ -144,7 +144,7 @@ FormAnswer:
type
:
string
error
:
type
:
string
o
id
:
id
:
type
:
integer
SubscriptionSection
:
title
:
Root Type for SubscriptionSection
...
...
@@ -161,7 +161,7 @@ SubscriptionSection:
type
:
array
items
:
$ref
:
'
#/FormAnswer'
o
id
:
id
:
type
:
integer
type
:
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