-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[REST] Allow to access to program via REST API #270
Comments
…, program and sessions.
Submitter all the REST endpoints: NOTE: for /api/program/ you must specify a program ID. If not, you'll get an empty response. |
Hi, I've been testing the api and it works pretty fine but it'd be nice to have a couple of extra fields in the program endpoint:
To speaker image uri (when it's a keynote) I added a new relationship:
Finally I had to enable cors. Locally I used the drupal/cors module but maybe there is a better way to do it. By the way, I was able to get all the info I need for the mobile app just using the users and program endpoints. |
Hi @natete , My apologies because my late reply. I've added the body to the program endpoint. Regarding the field_uris I didn't add them because if I do we'll get duplicated the number of rows, and I think it will be hard to handle from your side. If it is ok for you, I'll add them. Finally, regarding the cors module, I'd like to check an alternatuive way. If it is not blocking you, tomorrow for sure I'll tell you if I find something. I've pushed my changes, (the body field at the program endpoint.) |
… keynotes and sessions
#270: Remove body and add speaker image
We need to get the different resources that compose the program via REST. All of the different resources.
The text was updated successfully, but these errors were encountered: