Add Flickr photostream import as Photography
Import public photos from samuraijkm (NSID resolve + Flickr REST), tag Photography, with admin UI re-run and CLI support.
This commit is contained in:
@@ -251,6 +251,19 @@ export const api = {
|
||||
|
||||
importArtStationStatus: () =>
|
||||
request<ArtStationImportStatus>("/api/v1/admin/import/artstation"),
|
||||
|
||||
importFlickr: (body: { username?: string; dryRun?: boolean; publish?: boolean }) =>
|
||||
request<{
|
||||
ok: boolean;
|
||||
message: string;
|
||||
status: ArtStationImportStatus;
|
||||
}>("/api/v1/admin/import/flickr", {
|
||||
method: "POST",
|
||||
body: JSON.stringify(body),
|
||||
}),
|
||||
|
||||
importFlickrStatus: () =>
|
||||
request<ArtStationImportStatus>("/api/v1/admin/import/flickr"),
|
||||
};
|
||||
|
||||
export interface ArtStationImportStatus {
|
||||
|
||||
Reference in New Issue
Block a user