api code global jain
This commit is contained in:
141
resources/docs/1.0/mother-tongue.md
Normal file
141
resources/docs/1.0/mother-tongue.md
Normal file
@@ -0,0 +1,141 @@
|
||||
# API Docs
|
||||
|
||||
<a name="list"></a>
|
||||
## List
|
||||
|
||||
Details for mother tongue list api
|
||||
##
|
||||
##
|
||||
|
||||
####Endpoint
|
||||
|
||||
> {warning} Please note that the URI for this endpoint should include api/{$version} before
|
||||
|
||||
| Method | URI | Headers |
|
||||
| : | :- | : |
|
||||
| GET | `user/mother-tongue` | Authorization : Bearer {token} |
|
||||
|
||||
### URL Params
|
||||
|
||||
```php
|
||||
None
|
||||
```
|
||||
|
||||
### Data Params
|
||||
|
||||
```php
|
||||
None
|
||||
```
|
||||
|
||||
> {success} Success Response
|
||||
|
||||
####Code `200`
|
||||
####Content
|
||||
```php
|
||||
{
|
||||
"data": [
|
||||
{
|
||||
"id": 1,
|
||||
"name": "Hindi",
|
||||
"status": 1, //0: Inactive, 1// Active
|
||||
"created_at": "2022-02-24T08:52:53.000000Z",
|
||||
"updated_at": "2022-02-24T08:52:53.000000Z"
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"name": "Gujarati",
|
||||
"status": 1,
|
||||
"created_at": "2022-02-24T08:52:53.000000Z",
|
||||
"updated_at": "2022-02-24T08:52:53.000000Z"
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"name": "Rajasthani",
|
||||
"status": 1,
|
||||
"created_at": "2022-02-24T08:52:53.000000Z",
|
||||
"updated_at": "2022-02-24T08:52:53.000000Z"
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"name": "Malayalam",
|
||||
"status": 1,
|
||||
"created_at": "2022-02-24T08:52:53.000000Z",
|
||||
"updated_at": "2022-02-24T08:52:53.000000Z"
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"name": "Panjabi",
|
||||
"status": 1,
|
||||
"created_at": "2022-02-24T08:52:53.000000Z",
|
||||
"updated_at": "2022-02-24T08:52:53.000000Z"
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"name": "Tamil",
|
||||
"status": 1,
|
||||
"created_at": "2022-02-24T08:52:53.000000Z",
|
||||
"updated_at": "2022-02-24T08:52:53.000000Z"
|
||||
},
|
||||
{
|
||||
"id": 7,
|
||||
"name": "Bangla",
|
||||
"status": 1,
|
||||
"created_at": "2022-02-24T08:52:53.000000Z",
|
||||
"updated_at": "2022-02-24T08:52:53.000000Z"
|
||||
},
|
||||
{
|
||||
"id": 8,
|
||||
"name": "Oriya",
|
||||
"status": 1,
|
||||
"created_at": "2022-02-24T08:52:53.000000Z",
|
||||
"updated_at": "2022-02-24T08:52:53.000000Z"
|
||||
},
|
||||
{
|
||||
"id": 9,
|
||||
"name": "Marathi",
|
||||
"status": 1,
|
||||
"created_at": "2022-02-24T08:52:53.000000Z",
|
||||
"updated_at": "2022-02-24T08:52:53.000000Z"
|
||||
},
|
||||
{
|
||||
"id": 10,
|
||||
"name": "Konkani",
|
||||
"status": 1,
|
||||
"created_at": "2022-02-24T08:52:53.000000Z",
|
||||
"updated_at": "2022-02-24T08:52:53.000000Z"
|
||||
},
|
||||
{
|
||||
"id": 11,
|
||||
"name": "Kannada",
|
||||
"status": 1,
|
||||
"created_at": "2022-02-24T08:52:53.000000Z",
|
||||
"updated_at": "2022-02-24T08:52:53.000000Z"
|
||||
},
|
||||
{
|
||||
"id": 12,
|
||||
"name": "Telugu",
|
||||
"status": 1,
|
||||
"created_at": "2022-02-24T08:52:53.000000Z",
|
||||
"updated_at": "2022-02-24T08:52:53.000000Z"
|
||||
},
|
||||
{
|
||||
"id": 13,
|
||||
"name": "Other",
|
||||
"status": 1,
|
||||
"created_at": "2022-02-24T08:52:53.000000Z",
|
||||
"updated_at": "2022-02-24T08:52:53.000000Z"
|
||||
}
|
||||
],
|
||||
"status": 200
|
||||
}
|
||||
```
|
||||
|
||||
> {danger} Unauthenticated Response
|
||||
|
||||
####Code `403`
|
||||
####Content
|
||||
```php
|
||||
{
|
||||
"message": "Something went wrong!"
|
||||
}
|
||||
```
|
||||
Reference in New Issue
Block a user