standardfile icon indicating copy to clipboard operation
standardfile copied to clipboard

Drop old API format

Open mdouchement opened this issue 2 years ago • 0 comments

Use:

  • /v1/*
  • /v2/*
  • New error format
    {
        "meta": {
            "auth": {
                "userUuid": "452e3655-6f31-4bc6-8f99-ab24be85df3f",
                "roles": [
                    {
                        "uuid": "8802d6a3-b97c-4b25-968a-8fb21c65c3a1",
                        "name": "CORE_USER"
                    }
                ]
            },
            "server": {
                "filesServerUrl": "http://localhost:3125"
            }
        },
        "data": {
            "error": {
                "message": "The email you entered is already taken. Please try again."
            }
        }
    }
    
    meta can be ignored

mdouchement avatar Oct 31 '22 15:10 mdouchement