added access control to point in api and admin
parent
9c9e316efc
commit
167d6a2caa
|
@ -1190,7 +1190,7 @@ curl -i -X GET {{base_url}}/offlinemeterfiles/{id}/restore
|
||||||
* GET Point by ID
|
* GET Point by ID
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl -i -X GET {{base_url}}/points/{id}
|
curl -i -H "User-UUID: dcdb67d1-6116-4987-916f-6fc6cf2bc0e4" -H "Token: GET-TOKEN-AFTER-LOGIN" -X GET {{base_url}}/points/{id}
|
||||||
```
|
```
|
||||||
Result in JSON
|
Result in JSON
|
||||||
|
|
||||||
|
@ -1225,7 +1225,7 @@ Result in JSON
|
||||||
|
|
||||||
* GET all Points
|
* GET all Points
|
||||||
```bash
|
```bash
|
||||||
curl -i -X GET {{base_url}}/points
|
curl -i -H "User-UUID: dcdb67d1-6116-4987-916f-6fc6cf2bc0e4" -H "Token: GET-TOKEN-AFTER-LOGIN" -X GET {{base_url}}/points
|
||||||
```
|
```
|
||||||
* DELETE Point by ID
|
* DELETE Point by ID
|
||||||
```bash
|
```bash
|
||||||
|
|
Loading…
Reference in New Issue