Skip to content

Add API spec#25

Merged
t-animal merged 3 commits into
masterfrom
api-spec
Mar 21, 2020
Merged

Add API spec#25
t-animal merged 3 commits into
masterfrom
api-spec

Conversation

@migerh
Copy link
Copy Markdown
Contributor

@migerh migerh commented Mar 21, 2020

No description provided.

Comment thread docs/api.md Outdated
Comment thread docs/api.md
Comment thread docs/api.md Outdated
Comment thread docs/api.md
>
> Answer: 200/OK;\
> JSON-Payload: { id: string; name: string; entries: {id: string;
> ticketNumber: number; name: string}\[\] }\[\]
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wie ist das gemeint? entires ist ein dict mit id als key?
Wie erkenne ich dann die Reihenfolge? Anhand der ticketNumer?
Wäre ein Array, dass die Reihenfolge der Qeue vorgibt, nicht besser?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

entries ist ein array von dicts mit den keys 'id', 'ticketNumber' und 'name'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Glaube entries: {id: string; ticketNumber: number; name: string} [ ] soll schon ein Array sein. In dem Array stecken dann Objekte vom Typ {id: string; ticketNumber: number; name: string}.

Comment thread docs/api.md Outdated
Comment thread docs/api.md
Comment thread docs/api.md
Comment thread docs/api.md
Co-Authored-By: Flauer <florian.bauer@methodpark.de>
Comment thread docs/api.md
Comment thread docs/api.md
Comment thread docs/api.md
>
> Answer: 200/OK;\
> JSON-Payload: { id: string; name: string; entries: {id: string;
> ticketNumber: number; name: string}\[\] }\[\]
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

entries ist ein array von dicts mit den keys 'id', 'ticketNumber' und 'name'

Comment thread docs/api.md Outdated
Comment thread docs/api.md Outdated
Comment thread docs/api.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants