You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The app uses the same data model for groups, disciplines and training sets. Thus, we should adapt the CMS models as well and reflect this structure in the API.
groups are now root disciplines with an apiKey
training sets are leaf disciplines
documents are words.
Endpoints
Disciplines
Endpoint
Result
/api/v2/disciplines/
All global disciplines
/api/v2/disciplines/?level=0
All global root disciplines
/api/v2/disciplines/?keys[]=key1&keys[]=key2
All global and private disciplines with the given keys
Motivation
Implement a second improved version of the API
Proposed Solution
Terminology
The app uses the same data model for groups, disciplines and training sets. Thus, we should adapt the CMS models as well and reflect this structure in the API.
Endpoints
Disciplines
Words
Return format
Disciplines
Words
Identical to API v1
Return codes
The text was updated successfully, but these errors were encountered: