microsoft / microsoft/api-guidelines

Document how to implement "RELO" type LRO for action operations

Open
#318 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Azure Guidelines
Dominant language
No language data
Stars
23.3k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

The guidelines recommend adding ":" to the URL for a resource for an operation that performs an "action" that does not fit into the normal "CRUD" framework. But if that action operation is long-running, the standard pattern for RELO is unclear since it is not clear what the "URL for the resource" is.

We can solve this be requiring an action operation that wants to be a RELO LRO should return a Location header. This resolves the ambiguity.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the existing RELO and action-operation guidance referenced in the issue, then trace how the guidelines define the resource URL for long-running operations. Done means the documentation clearly specifies how an action-based RELO LRO identifies its resource, including whether a Location header is required.

Written by the indexing model from the issue text.

Assessment

Domain
api, documentation
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.