2020-03-24 08:47:08 +00:00
|
|
|
namespace FarmmapsApi
|
|
|
|
{
|
|
|
|
public static class ResourceEndpoints
|
|
|
|
{
|
|
|
|
public const string CURRENTUSER_RESOURCE = "currentuser";
|
|
|
|
public const string MYROOTS_RESOURCE = "folders/my_roots";
|
|
|
|
|
|
|
|
public const string ITEMS_RESOURCE = "items/{0}";
|
|
|
|
public const string ITEMS_CREATE_RESOURCE = "items";
|
|
|
|
public const string ITEMS_DOWNLOAD_RESOURCE = "items/{0}/download";
|
2020-03-25 20:32:28 +00:00
|
|
|
public const string ITEMS_UPLOAD_RESOURCE = "api/v1/file";
|
2020-03-24 08:47:08 +00:00
|
|
|
public const string ITEMS_CHILDREN_RESOURCE = "items/{0}/children";
|
|
|
|
public const string ITEMS_DELETE_RESOURCE = "items/delete";
|
|
|
|
|
|
|
|
public const string ITEMTASK_REQUEST_RESOURCE = "items/{0}/tasks";
|
|
|
|
public const string ITEMTASKS_RESOURCE = "items/{0}/tasks";
|
|
|
|
public const string ITEMTASK_RESOURCE = "items/{0}/tasks/{1}";
|
|
|
|
}
|
|
|
|
}
|