Hi, I’m currently working on this ticket and I would like to hear your thoughts about the REST endpoints implementation in OpenConceptLab module. So far I’ve created two endpoints:
-
“/subscription” - we have only one subscription and there is no uuid. I’ve created SubscriptionResource that extends DelegatingCrudResource. We’ll support GET “/openconcept/subscription” that will return current subscription if exist. and POST “/openconcept/subscription” to save new subscription.
-
“/update” - I thought about creating UpdateResource that extends DelegatingCrudResource. I want to add 2 subresources ItemResource and UpdateProgress Resource. To check if there is currently running update I would like to implenet searchHandler with “runningUpdate=true” param. I’m not sure how to start update manually(@raff any thoughts?)
This is probably not all logic needed, but those are my questions so far.
So please share your thoughts and ideas here