This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl https://api.scottyapp.com/v1/organizations \ | |
-H "Authorization: OAuth 22041c80355ec10b82d8aebcd2f8debd0b77b6ff54567fd4e285a722b1ef1e7a" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"total_count":2,"request_id":"","offset":0,"count":30,"collection":[{"_id":"4ea48bafc2db196b81000001","description":"hjghjghj\r\n","name":"martin_sunset","slug":"martin_sunset"},{"_id":"4ea900b4c2db191749000004","description":null,"name":"ohmyg","slug":"ohmyg"}]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl https://api.scottyapp.com/v1/organizations/ohmyg \ | |
-H "Authorization: OAuth 22041c80355ec10b82d8aebcd2f8debd0b77b6ff54567fd4e285a722b1ef1e7a" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"canonicalPath":"/organizations/ohmyg","name":"ohmyg","slug":"ohmyg","description":null,"creator":{"userName":"ohmyg","canonicalPath":"/ohmyg","avatarUrl30":"http://gravatar.com/avatar/72bdfd1690fe136bdd5fe911a7c583d7.png?s=30"},"apiStatus":{"request_id":""}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl https://api.scottyapp.com/v1/organizations \ | |
-X POST -d '{"name" : "org2","description" : "Another organization"}' \ | |
-H "Authorization: OAuth 22041c80355ec10b82d8aebcd2f8debd0b77b6ff54567fd4e285a722b1ef1e7a" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"canonicalPath":"/organizations/org2","name":"org2","slug":"org2","description":"Another organization","creator":{"userName":"martin_sunset","canonicalPath":"/martin_sunset","avatarUrl30":"http://a2.twimg.com/profile_images/247413746/People_MartinWawrusch_Small_normal.jpg"},"apiStatus":{"request_id":""}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl https://api.scottyapp.com/v1/organizations/martin_sunset \ | |
-X PUT -d '{"description" : "A nice description"}' \ | |
-H "Authorization: OAuth 22041c80355ec10b82d8aebcd2f8debd0b77b6ff54567fd4e285a722b1ef1e7a" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"canonicalPath":"/organizations/martin_sunset","name":"martin_sunset","slug":"martin_sunset","description":"A nice description","creator":{"userName":"martin_sunset","canonicalPath":"/martin_sunset","avatarUrl30":"http://a2.twimg.com/profile_images/247413746/People_MartinWawrusch_Small_normal.jpg"},"apiStatus":{"request_id":""}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl https://api.scottyapp.com/v1/organizations/org2 \ | |
-X DELETE \ | |
-H "Authorization: OAuth 22041c80355ec10b82d8aebcd2f8debd0b77b6ff54567fd4e285a722b1ef1e7a" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"canonicalPath":"/organizations/org2","name":"org2","slug":"org2","description":"Another organization","creator":{"userName":"martin_sunset","canonicalPath":"/martin_sunset","avatarUrl30":"http://a2.twimg.com/profile_images/247413746/People_MartinWawrusch_Small_normal.jpg"},"apiStatus":{"request_id":""}} |