Changeset View
Changeset View
Standalone View
Standalone View
swh/web/api/views/release.py
Show All 24 Lines | .. http:get:: /api/1/release/(sha1_git)/ | ||||
module for details about how they are computed. | module for details about how they are computed. | ||||
:param string sha1_git: hexadecimal representation of the release | :param string sha1_git: hexadecimal representation of the release | ||||
**sha1_git** identifier | **sha1_git** identifier | ||||
{common_headers} | {common_headers} | ||||
:>json object author: information about the author of the release | :>json object author: information about the author of the release | ||||
:>json string date: ISO representation of the release date (in UTC) | :>json string date: RFC3339 representation of the release date | ||||
:>json string id: the release unique identifier | :>json string id: the release unique identifier | ||||
:>json string message: the message associated to the release | :>json string message: the message associated to the release | ||||
:>json string name: the name of the release | :>json string name: the name of the release | ||||
:>json string target: the target identifier of the release | :>json string target: the target identifier of the release | ||||
:>json string target_type: the type of the target, can be either | :>json string target_type: the type of the target, can be either | ||||
**release**, **revision**, **content**, **directory** | **release**, **revision**, **content**, **directory** | ||||
:>json string target_url: a link to the adequate api url based on the | :>json string target_url: a link to the adequate api url based on the | ||||
target type | target type | ||||
Show All 19 Lines |