Changes

Jump to navigation Jump to search
6 bytes removed ,  07:51, 20 July 2012
Line 31: Line 31:     
List of actions common of all resources.
 
List of actions common of all resources.
      
  '''POST''' /<RESOURCE>
 
  '''POST''' /<RESOURCE>
Line 42: Line 41:  
Dictionary keys to receive:
 
Dictionary keys to receive:
 
:* {{Code|guid}}, with globally unique identifier that specifies created object.
 
:* {{Code|guid}}, with globally unique identifier that specifies created object.
      
  '''PUT''' /<RESOURCE>/<GUID>
 
  '''PUT''' /<RESOURCE>/<GUID>
Line 50: Line 48:  
Dictionary to send:
 
Dictionary to send:
 
: {{Code|RESOURCE}}'s properties to modify.
 
: {{Code|RESOURCE}}'s properties to modify.
      
  '''DELETE''' /<RESOURCE>/<GUID>
 
  '''DELETE''' /<RESOURCE>/<GUID>
    
Delete resource object. The real destroying won't happen, the object will be hidden. The garbage collection of hidden objects will be processed by Network administrators. By default, might be called only by {{Code|GUID}} creator.
 
Delete resource object. The real destroying won't happen, the object will be hidden. The garbage collection of hidden objects will be processed by Network administrators. By default, might be called only by {{Code|GUID}} creator.
      
  '''GET''' /<RESOURCE>?offset=<INTEGER>&limit=<INTEGER>[&query=<STRING>][&reply=<PROP>[,..]][&order_by=<nowiki>[+|-]</nowiki><PROP>][&group_by=<PROP>][&<QUERY_PROP>=<VALUE>[&...]]
 
  '''GET''' /<RESOURCE>?offset=<INTEGER>&limit=<INTEGER>[&query=<STRING>][&reply=<PROP>[,..]][&order_by=<nowiki>[+|-]</nowiki><PROP>][&group_by=<PROP>][&<QUERY_PROP>=<VALUE>[&...]]
Line 75: Line 71:  
:* {{Code|total}}, total number in requested query (the reply might contain only portion restricted by {{Code|limit}} request argument);
 
:* {{Code|total}}, total number in requested query (the reply might contain only portion restricted by {{Code|limit}} request argument);
 
:* {{Code|result}}, an array of dictionaries with resource object properties, dictionaries contain at least {{Code|guid}} property.
 
:* {{Code|result}}, an array of dictionaries with resource object properties, dictionaries contain at least {{Code|guid}} property.
      
  '''GET''' /<RESOURCE>/<GUID>[?reply=<PROP>[,..]]
 
  '''GET''' /<RESOURCE>/<GUID>[?reply=<PROP>[,..]]
Line 83: Line 78:  
Dictionary keys to receive:
 
Dictionary keys to receive:
 
:* properties that were specified in {{Code|reply}} argument(s), at least {{Code|guid}}.
 
:* properties that were specified in {{Code|reply}} argument(s), at least {{Code|guid}}.
      
  '''GET''' /<RESOURCE>/<GUID>/<PROPERTY>[?reply=<PROP>[,..]]
 
  '''GET''' /<RESOURCE>/<GUID>/<PROPERTY>[?reply=<PROP>[,..]]

Navigation menu