-
Notifications
You must be signed in to change notification settings - Fork 43
/
Resources.txt
72 lines (63 loc) · 2.94 KB
/
Resources.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
[Authorize()]
[api/auth] => AuthHttpRoute => AuthController
GET /api/auth [single] => Returns the authanticated user data and his/her roles.
[Authorize(Roles = "Admin")]
[api/roles] => DefaultHttpRoute => RolesController
GET /api/roles [collection]
GET /api/roles/{key} [single]
GET /api/roles?roleName={roleName} [single]
[Authorize(Roles = "Admin")]
[api/users/{key}] => DefaultHttpRoute => UsersController
GET /api/users [collection]
GET /api/users/{key} [single]
POST /api/users
PUT /api/users/{key}
[Authorize(Roles = "Admin,Employee")]
[api/shipmenttypes/{key}] => DefaultHttpRoute => ShipmentTypesController
GET /api/shipmenttypes [collection]
GET /api/shipmenttypes/{key} [single]
POST /api/shipmenttypes [single]
PUT /api/shipmenttypes/{key}
[Authorize(Roles = "Admin,Employee")]
[api/affiliates/{key}] => DefaultHttpRoute => AffiliatesController
GET /api/affiliates [collection]
GET /api/affiliates/{key} [single]
POST /api/affiliates [single]
PUT /api/affiliates
[Authorize(Roles = "Admin,Employee")]
[api/shipments/{key}] => DefaultHttpRoute => ShipmentsController
GET /api/shipments [collection]
GET /api/shipments/{key} [single]
POST /api/shipments
PUT /api/shipments/{key}
DELETE /api/shipments/{key}
[Authorize(Roles = "Affiliate")]
[api/affiliates/{key}/shipments] => AffiliateShipmentsHttpRoute => AffiliateShipmentsController
GET api/affiliates/{key}/shipments [collection]
GET api/affiliates/{key}/shipments/{shipmentKey} [single]
POST api/affiliates/{key}/shipments
PUT api/affiliates/{key}/shipments/{shipmentKey}
DELETE api/affiliates/{key}/shipments/{shipmentKey}
[Authorize(Roles = "Admin,Employee")]
[api/shipments/{key}/shipmentstates] => ShipmentStatesHttpRoute => ShipmentStatesController
GET /api/shipments/{key}/shipmentstates [collection]
POST /api/shipments/{key}/shipmentstates
#######################################################################################
## WON'T BE APPLIED
#######################################################################################
[Authorize(Roles = "Admin")]
[api/users/{key}/roles] => UserRolesHttpRoute => UserRolesController
POST /api/users/{key}/roles
DELETE /api/users/{key}/roles?roleName={roleName}
[Authorize(Roles = "Affiliate")]
[api/affiliates/{key}/shipments/{shipmentKey}/shipmentstates] => AffiliateShipmentShipmentStatesHttpRoute => AffiliateShipmentShipmentStatesController
GET api/affiliates/{key}/shipments/{shipmentKey}/shipmentstates [collection]
{{{{
routes.MapHttpRoute(
"AffiliateShipmentShipmentStatesHttpRoute",
"api/affiliates/{key}/shipments/{shipmentKey}/shipmentstates",
new { controller = "AffiliateShipmentShipmentStates" });
}}}
#######################################################################################
## WON'T BE APPLIED
#######################################################################################