Свойство | Тип | Описание | |
---|---|---|---|
AlbumEndpoint | System |
Метод | Описание | |
---|---|---|
AddAlbumImagesAsync ( string albumId, IEnumerable |
Takes a list of imageIds to add to the album. For anonymous albums, {albumId} should be the deletehash that is returned at creation.
|
|
AlbumEndpoint ( IApiClient apiClient ) : System |
Initializes a new instance of the AlbumEndpoint class.
|
|
CreateAlbumAsync ( string title = null, string description = null, AlbumPrivacy privacy = null, AlbumLayout layout = null, string coverId = null, IEnumerable |
Create a new album.
|
|
DeleteAlbumAsync ( string albumId ) : Task |
Delete an album with a given Id. You are required to be logged in as the user to delete the album. For anonymous albums, {albumId} should be the deletehash that is returned at creation.
|
|
FavoriteAlbumAsync ( string albumId ) : Task |
Favorite an album with a given Id. OAuth authentication required.
|
|
GetAlbumAsync ( string albumId ) : Task |
Get information about a specific album.
|
|
GetAlbumImageAsync ( string imageId, string albumId ) : Task |
Get information about an image in an album.
|
|
GetAlbumImagesAsync ( string albumId ) : Task |
Return all of the images in the album.
|
|
RemoveAlbumImagesAsync ( string albumId, IEnumerable |
Takes a list of imageIds and removes from the album. For anonymous albums, {albumId} should be the deletehash that is returned at creation.
|
|
SetAlbumImagesAsync ( string albumId, IEnumerable |
Sets the images for an album, removes all other images and only uses the images in this request. For anonymous albums, {albumId} should be the deletehash that is returned at creation.
|
|
UpdateAlbumAsync ( string albumId, string title = null, string description = null, AlbumPrivacy privacy = null, AlbumLayout layout = null, string coverId = null, IEnumerable |
Update the information of an album. For anonymous albums, {albumId} should be the deletehash that is returned at creation.
|
Метод | Описание | |
---|---|---|
AlbumEndpoint ( IApiClient apiClient, |
Initializes a new instance of the AlbumEndpoint class.
|
public AddAlbumImagesAsync ( string albumId, IEnumerable |
||
albumId | string | The id or deletehash of the album. |
imageIds | IEnumerable |
The imageIds that you want to be added to the album. |
Результат | Task |
public AlbumEndpoint ( IApiClient apiClient ) : System | ||
apiClient | IApiClient | The type of client that will be used for authentication. |
Результат | System |
public CreateAlbumAsync ( string title = null, string description = null, AlbumPrivacy privacy = null, AlbumLayout layout = null, string coverId = null, IEnumerable |
||
title | string | The title of the album. |
description | string | The description of the album. |
privacy | AlbumPrivacy | Sets the privacy level of the album. |
layout | AlbumLayout | Sets the layout to display the album. |
coverId | string | The Id of an image that you want to be the cover of the album. |
imageIds | IEnumerable |
The imageIds that you want to be included in the album. |
Результат | Task |
public DeleteAlbumAsync ( string albumId ) : Task |
||
albumId | string | The id or deletehash of the album. |
Результат | Task |
public FavoriteAlbumAsync ( string albumId ) : Task |
||
albumId | string | The album id. |
Результат | Task |
public GetAlbumAsync ( string albumId ) : Task |
||
albumId | string | The album id. |
Результат | Task |
public GetAlbumImageAsync ( string imageId, string albumId ) : Task |
||
imageId | string | The image id. |
albumId | string | The album id. |
Результат | Task |
public GetAlbumImagesAsync ( string albumId ) : Task |
||
albumId | string | The album id. |
Результат | Task |
public RemoveAlbumImagesAsync ( string albumId, IEnumerable |
||
albumId | string | The id or deletehash of the album. |
imageIds | IEnumerable |
The imageIds that you want to be removed from the album. |
Результат | Task |
public SetAlbumImagesAsync ( string albumId, IEnumerable |
||
albumId | string | The id or deletehash of the album. |
imageIds | IEnumerable |
The imageIds that you want to be added to the album. |
Результат | Task |
public UpdateAlbumAsync ( string albumId, string title = null, string description = null, AlbumPrivacy privacy = null, AlbumLayout layout = null, string coverId = null, IEnumerable |
||
albumId | string | The id or deletehash of the album. |
title | string | The title of the album. |
description | string | The description of the album. |
privacy | AlbumPrivacy | Sets the privacy level of the album. |
layout | AlbumLayout | Sets the layout to display the album. |
coverId | string | The Id of an image that you want to be the cover of the album. |
imageIds | IEnumerable |
The imageIds that you want to be included in the album. |
Результат | Task |