Skip to content
This repository was archived by the owner on Jan 30, 2020. It is now read-only.
This repository was archived by the owner on Jan 30, 2020. It is now read-only.

Allow HTTP clients to determine whether a unit was created or updated #910

@virtuald

Description

@virtuald

This is the essentially the same bug reported as #907. #851 is vaguely related.

A HTTP API client needs to know whether the /units/NAME call created a new unit or updated a previous unit. @bcwaldon suggested that the API returns a different status code depending on which case happened. As of fleet 0.8.0, it appears to always return a 204.

Once this change is implemented, it would be great to add it to the API document too. :)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions