Add Image To Favorites

Add Image To Favorites

Only container admin can add images to favorites.

Request
URI
POST
https://{api_host}/container-service/api/resources/favorite-images
COPY
Request Body
FavoriteImage of type(s) application/json
Required
{
    "registry": "string",
    "documentExpirationTimeMicros": "string",
    "documentSelfLink": "string",
    "name": "string",
    "description": "string",
    "tenantLinks": [
        "string"
    ],
    "documentUpdateTimeMicros": "string"
}
string
registry
Optional

registry

string
documentExpirationTimeMicros
Optional

documentExpirationTimeMicros

string
documentSelfLink
Optional

documentSelfLink

string
name
Optional

name

string
description
Optional

description

array of string
tenantLinks
Optional

tenantLinks

string
documentUpdateTimeMicros
Optional

documentUpdateTimeMicros

Responses
200

successful operation

Returns FavoriteImage of type(s) */*
{
    "registry": "string",
    "documentExpirationTimeMicros": "string",
    "documentSelfLink": "string",
    "name": "string",
    "description": "string",
    "tenantLinks": [
        "string"
    ],
    "documentUpdateTimeMicros": "string"
}
string
registry
Optional

registry

string
documentExpirationTimeMicros
Optional

documentExpirationTimeMicros

string
documentSelfLink
Optional

documentSelfLink

string
name
Optional

name

string
description
Optional

description

array of string
tenantLinks
Optional

tenantLinks

string
documentUpdateTimeMicros
Optional

documentUpdateTimeMicros


201

'Created' is returned for the new state with the state url in the location header of the response;

Operation doesn't return any data structure