Open jlbellido opened 7 years ago
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.)
We need to get the different resources that compose the program via REST. All of the different resources.