-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathRails_Couchbase_REST.json
1 lines (1 loc) · 9.54 KB
/
Rails_Couchbase_REST.json
1
{"id":"187727d4-f052-3be0-d1af-d0183746bf6a","name":"Rails_Couchbase_REST","timestamp":1387419879880,"requests":[{"collectionId":"187727d4-f052-3be0-d1af-d0183746bf6a","id":"1e3b1f4d-d48b-abf4-dc45-8c2ffc3e08e6","name":"GET document (default)","description":"Get a document specified with key, since no bucket specified, default is used","url":"http://localhost:3000/jasdeep","method":"GET","headers":"","data":[],"dataMode":"params","timestamp":0,"responses":[],"version":2},{"collectionId":"187727d4-f052-3be0-d1af-d0183746bf6a","id":"205dce59-27bf-fa89-9767-858700ec63e6","name":"ADD document","description":"Add a new document with key, post raw JSON, should follow structured formatting provided.","url":"http://localhost:3000/default/a/key-string","method":"POST","headers":"Content-Type: application/json\nAccept: application/json\n","data":"{\n \"post\": {\n \"value\": {\n \t\"message\": \"this is a text value\",\n \t\"size\": 42,\n \t\"happy\": true\n \t},\n \"options\": {}\n }\n}","dataMode":"raw","timestamp":0,"version":2,"time":1387421510235},{"collectionId":"187727d4-f052-3be0-d1af-d0183746bf6a","id":"3335f495-8974-f97a-7c2b-db2dde03776e","name":"INCR counter with create (default)","description":"Increment counter by 1, create if doesn't exist","url":"http://localhost:3000/incr/key-counter/create","method":"PUT","headers":"Content-Type: application/json\nAccept: application/json\n","data":"","dataMode":"raw","timestamp":0,"version":2,"time":1387431441471},{"collectionId":"187727d4-f052-3be0-d1af-d0183746bf6a","id":"4c8361ec-f8af-0cc7-303d-4db042ae739d","name":"REPLACE document","description":"Do a replace operation replacing document with new json document","url":"http://localhost:3000/default/r/key-string","method":"PUT","headers":"Content-Type: application/json\nAccept: application/json\n","data":"{\n \"post\": {\n \"value\": {\n \t\"message\": \"this is my new replaced value\",\n \t\"size\": 42,\n \t\"happy\": true\n \t},\n \"options\": {}\n }\n}","dataMode":"raw","timestamp":0,"version":2,"time":1387431497848},{"collectionId":"187727d4-f052-3be0-d1af-d0183746bf6a","id":"53bb2e29-05ba-aaa9-e6f2-a436ab7a23cc","name":"DELETE document","description":"DELETE the key-value pair","url":"http://localhost:3000/default/key-counter","method":"DELETE","headers":"Content-Type: application/json\nAccept: application/json\n","data":"","dataMode":"raw","timestamp":0,"version":2,"time":1387432001375},{"collectionId":"187727d4-f052-3be0-d1af-d0183746bf6a","id":"5537340a-9bba-ccc6-bd17-fb86165cd7ef","name":"INCR counter by amount","description":"Increment counter by amount, include bucket explicitly","url":"http://localhost:3000/default/incr/key-counter/5","method":"PUT","headers":"Content-Type: application/json\nAccept: application/json\n","data":"","dataMode":"raw","timestamp":0,"version":2,"time":1387431421159},{"collectionId":"187727d4-f052-3be0-d1af-d0183746bf6a","id":"5f02f5aa-adec-d78d-0892-edc150c2226b","name":"INCR counter with create and amount (default)","description":"Increment counter by amount, create at 0 if doesn't exist","url":"http://localhost:3000/incr/key-counter/5/create","method":"PUT","headers":"Content-Type: application/json\nAccept: application/json\n","data":"","dataMode":"raw","timestamp":0,"version":2,"time":1387431435298},{"collectionId":"187727d4-f052-3be0-d1af-d0183746bf6a","id":"6c236d08-0cf8-fa3b-82d3-d10eee05e981","name":"SET single value","description":"Add a new document with key, post raw JSON, should follow structured formatting provided. For single values, just put value in value field.","url":"http://localhost:3000/default/s/key-string","method":"PUT","headers":"Content-Type: application/json\nAccept: application/json\n","data":"{\n \"post\": {\n \"value\": 1,\n \"options\": {}\n }\n}","dataMode":"raw","timestamp":0,"version":2,"time":1387431483196},{"collectionId":"187727d4-f052-3be0-d1af-d0183746bf6a","id":"71f7d90a-50b8-52dc-e6a5-373e2b47502d","name":"SET document with cas","description":"Do a set operation, providing a CAS for optimistic concurrency","url":"http://localhost:3000/default/s/key-string","method":"PUT","headers":"Content-Type: application/json\nAccept: application/json\n","data":"{\n \"post\": {\n \"value\": {\n \t\"message\": \"this is my new text value\",\n \t\"size\": 42,\n \t\"happy\": true\n \t},\n \"options\": {\n \"cas\": 12341234123\n }\n }\n}","dataMode":"raw","timestamp":0,"version":2,"time":1387431489108},{"collectionId":"187727d4-f052-3be0-d1af-d0183746bf6a","id":"8348b480-6b99-2c79-3f78-2b5621c2e04f","name":"INCR counter","description":"Increment counter by 1, include bucket explicitly","url":"http://localhost:3000/default/incr/key-counter","method":"PUT","headers":"Content-Type: application/json\nAccept: application/json\n","data":"","dataMode":"raw","timestamp":0,"version":2,"time":1387431416661},{"collectionId":"187727d4-f052-3be0-d1af-d0183746bf6a","id":"83c93f85-4301-5867-77a5-97f30aadfb64","name":"DECR counter by amount","description":"Decrement counter by amount, explicit bucket name","url":"http://localhost:3000/default/decr/key-counter/5","method":"PUT","headers":"Content-Type: application/json\nAccept: application/json\n","data":"","dataMode":"raw","timestamp":0,"version":2,"time":1387431396695},{"collectionId":"187727d4-f052-3be0-d1af-d0183746bf6a","id":"8f8b8e4f-714c-0181-6ccc-6a0790eba1c4","name":"REPLACE with single value","description":"Do a replace operation replacing document with simple data type","url":"http://localhost:3000/default/r/key-string","method":"PUT","headers":"Content-Type: application/json\nAccept: application/json\n","data":"{\n \"post\": {\n \"value\": 1.1,\n \"options\": {}\n }\n}","dataMode":"raw","timestamp":0,"version":2,"time":1387431504735},{"collectionId":"187727d4-f052-3be0-d1af-d0183746bf6a","id":"a52efc5d-c674-2006-039d-51d1a65d8313","name":"DECR counter by amount (default)","description":"Decrement counter by amount, omit bucket name and use default","url":"http://localhost:3000/decr/key-counter/5","method":"PUT","headers":"Content-Type: application/json\nAccept: application/json\n","data":"","dataMode":"raw","timestamp":0,"version":2,"time":1387431404700},{"collectionId":"187727d4-f052-3be0-d1af-d0183746bf6a","id":"a915dd70-d7d4-5ea1-b9e5-fe67a59360a8","name":"GET document (bucket)","description":"Get a document specified with key, since no bucket specified, default is used","url":"http://localhost:3000/default/key-string","method":"GET","headers":"","data":"{\n \"message\": \"this is a text value\",\n \"size\": 42,\n \"happy\": true\n}","dataMode":"raw","timestamp":0,"version":2,"time":1387421349958},{"collectionId":"187727d4-f052-3be0-d1af-d0183746bf6a","id":"ac1ffe31-fe57-428c-ca98-562d4467fad6","name":"DELETE document (default)","description":"DELETE the key-value pair, omit bucket name, use default","url":"http://localhost:3000/key-counter","method":"DELETE","headers":"Content-Type: application/json\nAccept: application/json\n","data":"","dataMode":"raw","timestamp":0,"version":2,"time":1387432032963},{"collectionId":"187727d4-f052-3be0-d1af-d0183746bf6a","id":"b5c6f2ad-4f63-57a6-8747-55ce6717b9e5","name":"REPLACE document with cas","description":"Do a replace operation, providing a CAS for optimistic concurrency","url":"http://localhost:3000/default/r/key-string","method":"PUT","headers":"Content-Type: application/json\nAccept: application/json\n","data":"{\n \"post\": {\n \"value\": {\n \t\"message\": \"this is my new text value\",\n \t\"size\": 42,\n \t\"happy\": true\n \t},\n \"options\": {\n \"cas\": 8906795240018084000\n }\n }\n}","dataMode":"raw","timestamp":0,"version":2,"time":1387431493941},{"collectionId":"187727d4-f052-3be0-d1af-d0183746bf6a","id":"b793cd6f-2b43-fd24-5c92-09267a9b3448","name":"SET document","description":"Add a new document with key, post raw JSON, should follow structured formatting provided. For single values, just put value in value field.","url":"http://localhost:3000/default/s/key-string","method":"PUT","headers":"Content-Type: application/json\nAccept: application/json\n","data":"{\n \"post\": {\n \"value\": {\n \t\"message\": \"this is a text value\",\n \t\"size\": 42,\n \t\"happy\": true\n \t},\n \"options\": {}\n }\n}","dataMode":"raw","timestamp":0,"version":2,"time":1387431478832},{"collectionId":"187727d4-f052-3be0-d1af-d0183746bf6a","id":"c175151a-70f6-def0-32e6-2d9e3aea8118","name":"ADD single value","description":"Add a new document with key, post raw JSON, should follow structured formatting provided. For single values, just put value in value field.","url":"http://localhost:3000/default/a/key-string","method":"POST","headers":"Content-Type: application/json\nAccept: application/json\n","data":"{\n \"post\": {\n \"value\": 1,\n \"options\": {}\n }\n}","dataMode":"raw","timestamp":0,"version":2,"time":1387421614699},{"collectionId":"187727d4-f052-3be0-d1af-d0183746bf6a","id":"d313f6f0-c5a7-60e9-9bf6-e19167fc733d","name":"DECR counter","description":"Decrement counter by 1, include bucket explicitly","url":"http://localhost:3000/default/decr/key-counter","method":"PUT","headers":"Content-Type: application/json\nAccept: application/json\n","data":"","dataMode":"raw","timestamp":0,"version":2,"time":1387431410699},{"collectionId":"187727d4-f052-3be0-d1af-d0183746bf6a","id":"d4094cf6-16f4-1ab0-f316-7cca34ceeda1","name":"INCR counter by amount (default)","description":"Increment counter by amount","url":"http://localhost:3000/incr/key-counter/5","method":"PUT","headers":"Content-Type: application/json\nAccept: application/json\n","data":"","dataMode":"raw","timestamp":0,"version":2,"time":1387431427425}]}