From 5042cf3e89a86546ff4a7ff47d0f97404c3d7382 Mon Sep 17 00:00:00 2001 From: matu6968 Date: Sun, 10 Nov 2024 23:55:17 +0100 Subject: [PATCH] Update To edit app details --- To-edit-app-details.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/To-edit-app-details.md b/To-edit-app-details.md index 8c3e774..e530477 100644 --- a/To-edit-app-details.md +++ b/To-edit-app-details.md @@ -30,28 +30,42 @@ If it is successful: "pub": "matu6968", "path": "/uploads/App_Market_Manager/index.js" } + +Status code: 200 ``` If there is no token or a invalid token: ``` Unauthorized + +Status code: 401 ``` If there is no app ID specified: ``` App ID is required + +Status code: 400 ``` If there is a invalid app ID specified: ``` App not found + +Status code: 404 ``` If there is a problem while saving the uploaded file: (likely cause is directory where the binary is located is set to read only) ``` Failed to save file + +Status code: 500 ``` If there is a problem while saving apps.json onto the host: (likely cause is directory where the binary is located is set to read only) ``` Failed to save app data + +Status code: 500 ``` If there is invalid multipart body: ``` Invalid form data + +Status code: 400 ``` \ No newline at end of file