Skip to content

Instantly share code, notes, and snippets.

@tamtam180
Created April 7, 2012 09:11
Show Gist options
  • Save tamtam180/2326728 to your computer and use it in GitHub Desktop.
Save tamtam180/2326728 to your computer and use it in GitHub Desktop.
Rest call:
/_api/collection/collection-identifier/parameter
I got follows error:
{"error":true,"code":404,"errorNum":404,"errorMessage":"expecting one of the resources 'count', 'figures'"}
[tamtam@tamsvr20 tmp]$ curl -X GET --dump - http://localhost:8529/_api/collection/tamtam
HTTP/1.1 200 OK
connection: Keep-Alive
content-type: application/json
server: triagens GmbH High-Performance HTTP Server
location: /_api/collection/130920
content-length: 65
{"id":130920,"name":"tamtam","status":3,"error":false,"code":200}
[tamtam@tamsvr20 tmp]$ curl -X GET --dump - http://localhost:8529/_api/collection/tamtam/parameter
HTTP/1.1 404 Not Found
connection: Keep-Alive
content-type: application/json
server: triagens GmbH High-Performance HTTP Server
content-length: 107
{"error":true,"code":404,"errorNum":404,"errorMessage":"expecting one of the resources 'count', 'figures'"}
@tamtam180
Copy link
Author

sorry.., source-code in my local-machine was not latest. git pull and re-compiled, It's solved!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment