Legacy AppStore makes API call to https://api.casaos.io to retrieve app catalog before anything is cached.
Run through following commands to check if AppStore API returns app catalog
curl https://api.casaos.io/casaos-api/token
If successful, a JSON payload like sample below will be returned
{
"code" : 200,
"data" : "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6IiIsInBhc3N3b3JkIjoiIiwiZXhwIjoxNjc2NDI0MDIzLCJpc3MiOiJnaW4tYmxvZyJ9._nj5ZFUsicx5q5swKh1cwUdooslnK582By3o3K-P_u4",
"mssage" : "ok"
}
Copy the token in data
above and replace the <token>
below with it
curl https://api.casaos.io/casaos-api/v2/app/newlist -H "Authorization: <token>"
If AppStore API is running, a JSON payload of app catalog will be returned.
TODO