Skip to content

Add option for GET polling for UAID viability #1013

@data-sync-user

Description

@data-sync-user

Per discussion in https://bugzilla.mozilla.org/show_bug.cgi?id=1486010#c11 ,

It would be useful if there was an Autoendpoint URL that allowed for external UAs to poll and see if a given UAID is viable or not.

e.g. HEAD /v1/check/{uaid} which would return a JSON formatted response containing {"status":status_value} where status_value is 200 or either 404 or 410 depending on the stored UAID status. An error would be returned as a JSON formatted response containing {"error": error_code, "errno": error_number, "message": descriptive_text}, with updates to the Autopush documentation to describe these errors and resolutions.

This endpoint would need to be coordinated with the UA client team.

┆Issue is synchronized with this Jira Task

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions