Skip to content

Drop old API format #92

Open
Open
@mdouchement

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions