Files
Global-Jain/resources/docs/1.0/blood-group.md
2025-11-05 10:37:10 +05:30

107 lines
2.2 KiB
Markdown

# API Docs
<a name="list"></a>
## List
Details for blood group list api
##
##
####Endpoint
> {warning} Please note that the URI for this endpoint should include api/{$version} before
| Method | URI | Headers |
| : | :- | : |
| GET | `user/blood-group` | Authorization : Bearer {token} |
### URL Params
```php
None
```
### Data Params
```php
None
```
> {success} Success Response
####Code `200`
####Content
```php
{
"data": [
{
"id": 1,
"name": "A+",
"status": 1,
"created_at": "2022-03-03T06:59:44.000000Z",
"updated_at": "2022-03-03T06:59:44.000000Z"
},
{
"id": 2,
"name": "A-",
"status": 1,
"created_at": "2022-03-03T06:59:44.000000Z",
"updated_at": "2022-03-03T06:59:44.000000Z"
},
{
"id": 3,
"name": "B+",
"status": 1,
"created_at": "2022-03-03T06:59:44.000000Z",
"updated_at": "2022-03-03T06:59:44.000000Z"
},
{
"id": 4,
"name": "B-",
"status": 1,
"created_at": "2022-03-03T06:59:44.000000Z",
"updated_at": "2022-03-03T06:59:44.000000Z"
},
{
"id": 5,
"name": "AB+",
"status": 1,
"created_at": "2022-03-03T06:59:45.000000Z",
"updated_at": "2022-03-03T06:59:45.000000Z"
},
{
"id": 6,
"name": "AB-",
"status": 1,
"created_at": "2022-03-03T06:59:45.000000Z",
"updated_at": "2022-03-03T06:59:45.000000Z"
},
{
"id": 7,
"name": "O+",
"status": 1,
"created_at": "2022-03-03T06:59:45.000000Z",
"updated_at": "2022-03-03T06:59:45.000000Z"
},
{
"id": 8,
"name": "O-",
"status": 1,
"created_at": "2022-03-03T06:59:45.000000Z",
"updated_at": "2022-03-03T06:59:45.000000Z"
}
],
"status": 200
}
```
> {danger} Unauthenticated Response
####Code `403`
####Content
```php
{
"message": "Something went wrong!"
}
```