Jump to: navigation, search

Glance-tasks-api

Revision as of 14:59, 16 July 2013 by Brian-rosmaita (talk | contribs) (Created page with "== Overview == This proposal unifies the new upload workflow, new download workflow, and image cloning blueprints in an extensible, consistent, and easy-to-learn way. == Gene...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Overview

This proposal unifies the new upload workflow, new download workflow, and image cloning blueprints in an extensible, consistent, and easy-to-learn way.

General Workflow

  1. User posts a request to /v2/tasks
  2. Glance returns a 201 with Location: /v2/tasks/{task-uuid}
    • The resource at /v2/tasks/{task-uuid} will be an expirable entity
  3. User polls /v2/tasks/{task-uuid} for status information on the requested task
  4. Eventually, when the task is completed, the resource will contain
    • the location of the result of the task
    • the expiration datetime of the tasks resource