Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
amelie
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Fachschaft
amelie
Commits
6ee39462
Verified
Commit
6ee39462
authored
4 months ago
by
Jakob Moser
Browse files
Options
Downloads
Patches
Plain Diff
Add some key-like properties to the voting session
parent
e271282a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
amelie/static/docs/api/v0/openapi-spec.yaml
+20
-0
20 additions, 0 deletions
amelie/static/docs/api/v0/openapi-spec.yaml
with
20 additions
and
0 deletions
amelie/static/docs/api/v0/openapi-spec.yaml
+
20
−
0
View file @
6ee39462
...
...
@@ -61,6 +61,9 @@ components:
-
uuid
-
votingUuid
-
email
-
secret
-
createdAt
-
expiresAt
type
:
object
properties
:
uuid
:
...
...
@@ -73,10 +76,27 @@ components:
email
:
type
:
string
format
:
email
secret
:
description
:
A token that can be used as secret to authenticate against the API.
type
:
string
readOnly
:
true
createdAt
:
description
:
The zoned date and time this session was created at.
type
:
string
format
:
date-time
readOnly
:
true
expiresAt
:
description
:
The zoned date and time this session expires at, i.e. after which no ballot can be cast anymore with it.
type
:
string
format
:
date-time
readOnly
:
true
example
:
uuid
:
1f1a8e45-86eb-4ca0-8e2a-b5cc8c274f06
votingUuid
:
ace5430c-8251-4524-bacb-ae3b2445d70d
email
:
fs-coli@cl.uni-heidelberg.example
secret
:
amelie.ffp3A13knC21zFnb5A-suH_5Q5VwgdjSWz9cZTSI3bs
createdAt
:
"
2024-11-04T15:00:02+00:00"
expiresAt
:
"
2024-11-05T15:00:02+00:00"
VotingItem
:
title
:
VotingItem
description
:
“Abstimmungsgegenstand”. One single thing a vote (yes, no, abstention) can be cast on.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment