Skip to content

Add GraphQL webservices #2644

@AngelFQC

Description

@AngelFQC

@ywarnier proposed converting services to the REST API.
But there is also the option to integrate GraphQL. Since GraphQL can reduce the response load in each request.

I was working (in free time) to change the current API to GraphQL in 1.11.x (before 1.11.8) 1.11.x...AngelFQC:graphql

https://github.com/overblog/GraphQLBundle seems like a good option, but I have my doubts about how to use a context class to indicate in which course or session the user is currently. And also each type of data should be (re) written in yaml files. overblog's graphql bundle use internally the webonyx/graphql-php (graphql port to php), the same I used for my 1.11.x tests.

ToDo:

  • Authenticate
    • Get sender ID for push notifications
  • Save GCM Id (for push notifications)
  • Get user info
  • Get user messages
  • Send message to friend
    • Get friends list
  • Get user courses
  • Get course info
  • Get course description
  • Get course documents
    • Allow download files with Rest's api_key
  • Get course announcements
  • Get course announcement info
  • Get course agenda
  • Get course notebook
  • Get course forum categories
  • Get course forums
  • Get course forum threads
  • Get course learning paths
    • See learning path in browser (with autologin)
  • Get user sessions
  • Create a course
  • Create a user
  • Subscribe user to course
  • Create a forum thread
  • Create forum post
  • Create note in notebook

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions