Skip to content
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

Manage bulk insert #2

Open
ddurieux opened this issue Oct 20, 2015 · 0 comments
Open

Manage bulk insert #2

ddurieux opened this issue Oct 20, 2015 · 0 comments

Comments

@ddurieux
Copy link
Contributor

we must add possibility to bulk insert (POST list of resource).

Example, post this on service resource:

[{"name": "tmp10", "register": false},{"name": "tmp11", "register": false}]

and result:

{
    "_status": "OK",
    "_items": [
        {
            "_updated": "Tue, 20 Oct 2015 13:30:04 GMT",
            "_links": {
                "self": {
                    "href": "service/562641dc8bde9cc16bc42a07",
                    "title": "Service"
                }
            },
            "_created": "Tue, 20 Oct 2015 13:30:04 GMT",
            "_status": "OK",
            "_id": "562641dc8bde9cc16bc42a07",
            "_etag": "b1339794c85270434cf8a78e093dd0cdcc7a73b3"
        },
        {
            "_updated": "Tue, 20 Oct 2015 13:30:04 GMT",
            "_links": {
                "self": {
                    "href": "service/562641dc8bde9cc16bc42a08",
                    "title": "Service"
                }
            },
            "_created": "Tue, 20 Oct 2015 13:30:04 GMT",
            "_status": "OK",
            "_id": "562641dc8bde9cc16bc42a08",
            "_etag": "02d99b5d802b559d5897423038cb4da0b74ad7cf"
        }
    ]
}
@mohierf mohierf modified the milestones: Version 1.0, Version 2.0 Jan 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants