Difference between revisions of "stoney mail: Mail Resource - REST API"

From stoney cloud
Jump to: navigation, search
[unchecked revision][unchecked revision]
(stoney vm)
Line 19: Line 19:
 
https://api.example.com/v1/services/vm
 
https://api.example.com/v1/services/vm
 
https://api.example.com/v1/services/vm/vms
 
https://api.example.com/v1/services/vm/vms
 
+
https://api.example.com/v1/services/vm/vms/kvm-0211
 
+
https://api.example.com/v1/services/vm/vms/3712345
 
</pre>
 
</pre>
 +
How to we hande actions (start/stop/...)?
  
 
= Notes =
 
= Notes =

Revision as of 10:48, 30 January 2014

stoney mail

stoney mail: Mail Domains Resource - REST API
stoney mail: Mail Accounts Resource - REST API

https://api.example.com/v1/services/mail
https://api.example.com/v1/services/mail/domains
https://api.example.com/v1/services/mail/domains/stepping-stone.ch
https://api.example.com/v1/services/mail/domains/stepping-stone.ch/accounts
https://api.example.com/v1/services/mail/domains/stepping-stone.ch/accounts/michael.eichenberger
https://api.example.com/v1/services/mail/accounts
https://api.example.com/v1/services/mail/accounts/michael.eichenberger@stepping-stone.ch

stoney vm

stoney vm: Virtual Machines Resource - REST API

https://api.example.com/v1/services/vm
https://api.example.com/v1/services/vm/vms
https://api.example.com/v1/services/vm/vms/kvm-0211
https://api.example.com/v1/services/vm/vms/3712345

How to we hande actions (start/stop/...)?

Notes

  • Points we need to discuss --Chrigu (talk) 09:35, 30 January 2014 (CET)
    • services vs. products
    • product UIDs vs. names (mail/12345678 vs. mail/example.com)
      • Maybe both should work? If not, uid would be preferable, as they stay fix, even if you rename the mail account. --Michael (talk) 09:47, 30 January 2014 (CET)
    • Maybe create examples for other products/services to get a feeling about what is the better, more generic way.
      • See above. --Michael (talk) 09:47, 30 January 2014 (CET)