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

71 lines
1.1 KiB
Markdown

# API Docs
<a name="list"></a>
## List
Details for sampraday list api
##
##
####Endpoint
> {warning} Please note that the URI for this endpoint should include api/{$version} before
| Method | URI | Headers |
| : | :- | : |
| GET | `user/sampraday-list` | Default |
### URL Params
```php
None
```
### Data Params
```php
{
"dharma_id" : "3"
}
```
> {success} Success Response
####Code `200`
####Content
```php
{
"data": [
{
"id": 1,
"name": "Test",
"status": 0,
"created_by": 1,
"updated_by": null,
"created_at": "2022-01-13T09:10:58.000000Z",
"updated_at": "2022-01-13T09:10:58.000000Z"
},
{
"id": 2,
"name": "Test2",
"status": 0,
"created_by": 1,
"updated_by": null,
"created_at": "2022-01-13T09:11:10.000000Z",
"updated_at": "2022-01-13T09:11:10.000000Z"
}
],
"status": 200
}
```
> {danger} Unauthenticated Response
####Code `403`
####Content
```php
{
"message": "Something went wrong!"
}
```