diff --git a/To-edit-app-details.md b/To-edit-app-details.md index e530477..4be7be4 100644 --- a/To-edit-app-details.md +++ b/To-edit-app-details.md @@ -10,12 +10,17 @@ ``` Multipart body: -1. Application ID from where to change it's details (footer, required): id: 784875887587 -2. New Application Version (footer): ver: 1 -3. New Application Description (footer): info: thisisatestedit -4. New Application name (footer): name: App Market Manager -5. New Application File (footer): file: [path to file] -5. New Application Path (footer): customPath: [path to file] +1. metadata: + { + "appid": "80a7835d-9156-4647-874f-a1228eefdc31", + "app": { + "name": "tes", + "ver": "2", + "info": "thisisanewtestedit", + "pub": "matu6968" + } + } +2. file (optional): specify a new file for updated version ``` ### Output: @@ -23,12 +28,7 @@ Multipart body: If it is successful: ``` { - "name": "App Market Manager", - "ver": "1", - "appid": "784875887587", - "info": "thisisatestedit", - "pub": "matu6968", - "path": "/uploads/App_Market_Manager/index.js" + "message": "App updated successfully" } Status code: 200