Jeffrey  created USERGRID-987:
---------------------------------

             Summary: Batch REST API Endpoint and Semantic
                 Key: USERGRID-987
                 URL: https://issues.apache.org/jira/browse/USERGRID-987
             Project: Usergrid
          Issue Type: Story
            Reporter: Jeffrey 


We need a BATCH API which can accept 'n' operations.  We should look at the 
ElasticSearch Batch API and others for inspiration.

As a starting point, it could look something like this:

POST /{collection}
{payload} -- create entity
PATCH /{collection}/{name|uuid}
{payload} -- update entity, partial
PUT /{collection}/{name|uuid}
{payload} -- replace entity
DELETE /{collection}/{name|uuid}
\n
POST /{collection}/{name|uuid}/{connection}/{uuid}
{payload} -- yes, we will get there eventually
POST /{collection}/{name|uuid}/{connection}/{collection}/{uuid}
{payload} -- yes, we will get there eventually
DELETE /{collection}/{name|uuid}/{connection}/{uuid}
\n




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to