Application
Update Application
Update a specific application by its key.
Authorization
default AuthorizationBearer <token>
You can retrieve your token by logging in.
In: header
Path Parameters
applicationKey*string
Header Parameters
X-API-Version*string
API contract version to target. See the Changelog for what changed in each version.
Default
"2.0.0"Value in
"2.3.0" | "2.2.0" | "2.1.0" | "2.0.0"Request Body
application/json
logo_img?|
Application logo image file or URL. Must be a valid URL.
name_en?|
English name of the application.
name_ar?|
Arabic name of the application.
description_en?|
English description of the application.
description_ar?|
Arabic description of the application.
order?|
Display order for sorting.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "http://localhost:8000/api/v2/applications/BALLURH" \ -H "X-API-Version: 2.3.0" \ -H "Content-Type: application/json" \ -d '{}'{
"meta": {
"code": 200,
"status": "success",
"message": "Update Success"
},
"data": {
"key": "UNIPAL",
"logo_img": "https://via.placeholder.com/640x480.png/0011bb?text=nobis",
"name_en": "Bergstrom, Bartell and Dicki",
"name_ar": "Bergstrom, Bartell and Dicki",
"description_en": "Ipsam non rerum sed voluptatum. Facere corrupti adipisci deleniti mollitia qui. Sunt voluptatem maiores molestiae non sequi.",
"description_ar": "Quo quia modi sapiente. Sit sint fuga explicabo. Illo aspernatur quam sed ut nostrum ab dicta.",
"order": 40
}
}{
"meta": {
"code": 401,
"status": "error",
"message": "Unauthenticated."
},
"data": null
}{
"meta": {
"code": 403,
"status": "error",
"message": "Unauthorized."
},
"data": null
}{
"meta": {
"code": 404,
"status": "error",
"message": "Resource not found."
},
"data": null
}{
"meta": {
"code": 500,
"status": "error",
"message": "Internal server error."
},
"data": null
}