Files
Global-Jain/resources/docs/1.0/dharma.md

78 lines
1.4 KiB
Markdown
Raw Normal View History

2025-11-05 10:37:10 +05:30
# API Docs
<a name="list"></a>
## List
Details for dharma list api
##
##
####Endpoint
> {warning} Please note that the URI for this endpoint should include api/{$version} before
| Method | URI | Headers |
| : | :- | : |
| GET | `/dharma-detail` | Default |
### URL Params
```php
None
```
### Data Params
```php
None
```
> {success} Success Response
####Code `200`
####Content
```php
{
"data": [
{
"id": 1,
"name": "Deravasi",
"created_at": "2022-01-05T06:31:55.000000Z",
"updated_at": "2022-01-05T06:31:55.000000Z",
"deleted_at": null
},
{
"id": 2,
"name": "Sthanakvasi",
"created_at": "2022-01-05T06:31:55.000000Z",
"updated_at": "2022-01-05T06:31:55.000000Z",
"deleted_at": null
},
{
"id": 3,
"name": "Terapanthi",
"created_at": "2022-01-05T06:31:55.000000Z",
"updated_at": "2022-01-05T06:31:55.000000Z",
"deleted_at": null
},
{
"id": 4,
"name": "Digambar",
"created_at": "2022-01-05T06:31:56.000000Z",
"updated_at": "2022-01-05T06:31:56.000000Z",
"deleted_at": null
}
]
}
```
> {danger} Unauthenticated Response
####Code `403`
####Content
```php
{
"message": "Something went wrong!"
}
```