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
cf543a25
Commit
cf543a25
authored
May 04, 2018
by
bernardosunderhus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[API] Adicionado arquivo da api do competifier
parent
c68b85ee
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
121 additions
and
444 deletions
+121
-444
Competifier API.yaml
Api/Competifier API.yaml
+0
-415
Competifier.openapi.yaml
Api/Competifier.openapi.yaml
+119
-27
Competify.mdj
uml/Competify.mdj
+2
-2
No files found.
Api/Competifier API.yaml
deleted
100644 → 0
View file @
c68b85ee
This diff is collapsed.
Click to expand it.
Api/Competifier.openapi.yaml
View file @
cf543a25
...
@@ -5,9 +5,11 @@ info:
...
@@ -5,9 +5,11 @@ info:
version
:
0.1.0
version
:
0.1.0
tags
:
tags
:
-
name
:
competifier
-
name
:
competifier
description
:
Competifier operations
description
:
Operations involving the competifier
-
name
:
assessments
-
name
:
assessments
description
:
Operations involving assessments
description
:
Operations involving the assessments
-
name
:
phases
description
:
Operations involving the phases
paths
:
paths
:
/competifier/messages
:
/competifier/messages
:
get
:
get
:
...
@@ -98,6 +100,25 @@ paths:
...
@@ -98,6 +100,25 @@ paths:
schema
:
schema
:
format
:
int32
format
:
int32
type
:
integer
type
:
integer
'
/assessments/{assessmentId}/evaluation'
:
get
:
tags
:
-
assessments
summary
:
Retrives an Assessment evaluation
responses
:
'
200'
:
description
:
Successfully retrieved assessment evaluation
content
:
application/json
:
schema
:
type
:
object
parameters
:
-
name
:
assessmentId
in
:
path
required
:
true
schema
:
format
:
int32
type
:
integer
'
/assessments/{assessmentId}/submissions'
:
'
/assessments/{assessmentId}/submissions'
:
get
:
get
:
tags
:
tags
:
...
@@ -223,9 +244,9 @@ paths:
...
@@ -223,9 +244,9 @@ paths:
schema
:
schema
:
type
:
array
type
:
array
items
:
items
:
oneOf
:
anyOf
:
-
$ref
:
'
#/components/schemas/SubjectiveQuestion'
-
$ref
:
'
#/components/schemas/ObjectiveQuestion'
-
$ref
:
'
#/components/schemas/ObjectiveQuestion'
-
$ref
:
'
#/components/schemas/SubjectiveQuestion'
parameters
:
parameters
:
-
name
:
assessmentId
-
name
:
assessmentId
in
:
path
in
:
path
...
@@ -244,7 +265,7 @@ paths:
...
@@ -244,7 +265,7 @@ paths:
content
:
content
:
application/json
:
application/json
:
schema
:
schema
:
one
Of
:
any
Of
:
-
$ref
:
'
#/components/schemas/SubjectiveQuestion'
-
$ref
:
'
#/components/schemas/SubjectiveQuestion'
-
$ref
:
'
#/components/schemas/ObjectiveQuestion'
-
$ref
:
'
#/components/schemas/ObjectiveQuestion'
parameters
:
parameters
:
...
@@ -260,6 +281,58 @@ paths:
...
@@ -260,6 +281,58 @@ paths:
schema
:
schema
:
format
:
int32
format
:
int32
type
:
integer
type
:
integer
'
/assessments/{assessmentId}/questions/{questionId}/statement'
:
get
:
tags
:
-
assessments
summary
:
Retrieves statement from a question
responses
:
'
200'
:
description
:
'
'
content
:
application/json
:
schema
:
$ref
:
'
#/components/schemas/QuestionStatement'
parameters
:
-
name
:
assessmentId
in
:
path
required
:
true
schema
:
format
:
int32
type
:
integer
-
name
:
questionId
in
:
path
required
:
true
schema
:
format
:
int32
type
:
integer
'
/assessments/{assessmentId}/questions/{questionId}/alternatives'
:
get
:
tags
:
-
assessments
summary
:
Retrieves alternatives from an objective question
responses
:
'
200'
:
description
:
'
'
content
:
application/json
:
schema
:
type
:
array
items
:
$ref
:
'
#/components/schemas/Alternative'
parameters
:
-
name
:
assessmentId
in
:
path
required
:
true
schema
:
format
:
int32
type
:
integer
-
name
:
questionId
in
:
path
required
:
true
schema
:
format
:
int32
type
:
integer
'
/assessments/{assessmentId}/drafts'
:
'
/assessments/{assessmentId}/drafts'
:
get
:
get
:
tags
:
tags
:
...
@@ -415,10 +488,25 @@ paths:
...
@@ -415,10 +488,25 @@ paths:
required
:
true
required
:
true
schema
:
schema
:
type
:
integer
type
:
integer
'
/phases'
:
get
:
tags
:
-
phases
summary
:
Retrives all phases
responses
:
'
200'
:
description
:
'
'
content
:
application/json
:
schema
:
type
:
object
components
:
components
:
schemas
:
schemas
:
ScheduledEvent
:
ScheduledEvent
:
type
:
object
required
:
-
oid
-
startsAt
-
endsAt
properties
:
properties
:
oid
:
oid
:
description
:
The object identification
description
:
The object identification
...
@@ -432,7 +520,6 @@ components:
...
@@ -432,7 +520,6 @@ components:
description
:
The time of the ending of the assessment
description
:
The time of the ending of the assessment
type
:
string
type
:
string
Assessment
:
Assessment
:
type
:
object
required
:
required
:
-
status
-
status
-
type
-
type
...
@@ -440,7 +527,6 @@ components:
...
@@ -440,7 +527,6 @@ components:
-
resultAvailable
-
resultAvailable
-
answerKeyAvailable
-
answerKeyAvailable
-
locationType
-
locationType
-
exam
-
schedule
-
schedule
properties
:
properties
:
status
:
status
:
...
@@ -554,8 +640,6 @@ components:
...
@@ -554,8 +640,6 @@ components:
0
:
'
#/components/schemas/SubjectiveQuestion'
0
:
'
#/components/schemas/SubjectiveQuestion'
1
:
'
#/components/schemas/ObjectiveQuestion'
1
:
'
#/components/schemas/ObjectiveQuestion'
SubjectiveQuestion
:
SubjectiveQuestion
:
required
:
-
answerKey
allOf
:
allOf
:
-
$ref
:
'
#/components/schemas/Question'
-
$ref
:
'
#/components/schemas/Question'
-
type
:
object
-
type
:
object
...
@@ -564,8 +648,6 @@ components:
...
@@ -564,8 +648,6 @@ components:
format
:
string
format
:
string
type
:
string
type
:
string
ObjectiveQuestion
:
ObjectiveQuestion
:
required
:
-
answerKey
allOf
:
allOf
:
-
$ref
:
'
#/components/schemas/Question'
-
$ref
:
'
#/components/schemas/Question'
-
type
:
object
-
type
:
object
...
@@ -575,48 +657,58 @@ components:
...
@@ -575,48 +657,58 @@ components:
items
:
items
:
$ref
:
'
#/components/schemas/Alternative'
$ref
:
'
#/components/schemas/Alternative'
answerKey
:
answerKey
:
format
:
int32
type
:
integer
type
:
integer
ExamCover
:
required
:
-
content
-
oid
properties
:
content
:
type
:
string
oid
:
type
:
integer
Exam
:
Exam
:
required
:
-
type
-
title
-
groups
-
questions
-
oid
properties
:
properties
:
type
:
type
:
description
:
'
{SUBJECTIVE,
OBJECTIVE}'
description
:
'
{SUBJECTIVE,
OBJECTIVE}'
type
:
integer
type
:
integer
label
:
title
:
description
:
A name to the exam
type
:
string
type
:
string
cover
:
cover
:
description
:
An html to be embedded as cover
$ref
:
'
#/components/schemas/ExamCover'
type
:
string
groups
:
groups
:
description
:
The possible QuestionGroup of this Exam
type
:
array
type
:
array
items
:
items
:
$ref
:
'
#/components/schemas/QuestionGroup'
$ref
:
'
#/components/schemas/QuestionGroup'
questions
:
questions
:
description
:
All the ExamQuestions of this Exam
type
:
array
type
:
array
items
:
items
:
$ref
:
'
#/components/schemas/Question'
oneOf
:
-
$ref
:
'
#/components/schemas/SubjectiveQuestion'
-
$ref
:
'
#/components/schemas/ObjectiveQuestion'
oid
:
oid
:
description
:
Object identifier
description
:
Object identifier
type
:
integer
type
:
integer
Alternative
:
Alternative
:
title
:
Alternative
required
:
description
:
Alternative for a *ObjectiveQuestion*
-
order
type
:
object
-
statement
-
oid
properties
:
properties
:
order
:
order
:
format
:
int32
title
:
order
title
:
order
description
:
position of this alternative to it's question
description
:
position of this alternative to it's question
type
:
integer
type
:
integer
statement
:
statement
:
title
:
statement
description
:
the alternative statement
description
:
the alternative statement
type
:
string
type
:
string
oid
:
oid
:
format
:
int32
description
:
Object identifier
description
:
Object identifier
type
:
integer
type
:
integer
AssessmentSubmission
:
AssessmentSubmission
:
...
@@ -642,7 +734,7 @@ components:
...
@@ -642,7 +734,7 @@ components:
-
$ref
:
'
#/components/schemas/AssessmentSubmission'
-
$ref
:
'
#/components/schemas/AssessmentSubmission'
-
type
:
object
-
type
:
object
properties
:
properties
:
o
loadUri
:
loadUri
:
type
:
string
type
:
string
VirtualAssessmentSubmission
:
VirtualAssessmentSubmission
:
allOf
:
allOf
:
...
...
uml/Competify.mdj
View file @
cf543a25
...
@@ -9942,7 +9942,7 @@
...
@@ -9942,7 +9942,7 @@
"height": 13,
"height": 13,
"autoResize": false,
"autoResize": false,
"underline": false,
"underline": false,
"text": "+
statem
ent",
"text": "+
cont
ent",
"horizontalAlignment": 0,
"horizontalAlignment": 0,
"verticalAlignment": 5,
"verticalAlignment": 5,
"wordWrap": false
"wordWrap": false
...
@@ -12071,7 +12071,7 @@
...
@@ -12071,7 +12071,7 @@
"_parent": {
"_parent": {
"$ref": "AAAAAAFjK7inaCwwiDo="
"$ref": "AAAAAAFjK7inaCwwiDo="
},
},
"name": "
statem
ent",
"name": "
cont
ent",
"visibility": "public",
"visibility": "public",
"isStatic": false,
"isStatic": false,
"isLeaf": false,
"isLeaf": false,
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