This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| get_collections [2010/11/04 22:59] – created jay | get_collections [2010/11/08 23:37] (current) – jay | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ===== GET / | ===== GET / | ||
| - | * method: GET / | + | returns the list of collections owned by you. |
| * response formats supported: .xml, .json | * response formats supported: .xml, .json | ||
| * query parameters: none | * query parameters: none | ||
| - | * Curl command line: < | + | * Curl command line: < |
| * example xml response: | * example xml response: | ||
| <code xml> | <code xml> | ||
| Line 11: | Line 12: | ||
| < | < | ||
| < | < | ||
| - | < | ||
| < | < | ||
| < | < | ||
| Line 21: | Line 21: | ||
| < | < | ||
| < | < | ||
| + | < | ||
| </ | </ | ||
| < | < | ||
| - | < | ||
| < | < | ||
| < | < | ||
| Line 34: | Line 34: | ||
| < | < | ||
| < | < | ||
| + | < | ||
| </ | </ | ||
| - | ... | + | ...etc... |
| </ | </ | ||
| + | |||
| + | </ | ||
| + | * example json response (reformatted for easier viewing) | ||
| + | <code javascript> | ||
| + | {" | ||
| + | [{" | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | {" | ||
| + | // ... etc... | ||
| + | ," | ||
| + | " | ||
| </ | </ | ||
| * field descriptions: | * field descriptions: | ||
| - | * email: the email address for the collection (add @4thefile.com) | + | * email: the email address for collection |
| - | * moderated: 1=none, | + | * moderated: 1=none, |
| * privacy: 1=shareable, | * privacy: 1=shareable, | ||