/**
* This file was auto-generated on 2023-10-24T15:44:49.890Z
* flickr.push.subscribe
* In ur pandas, tickling ur unicorn
(this method is experimental and may change)
* Permissions required: read
*/
export type FlickrPushSubscribeParams = {
/**
* The type of subscription. See flickr.push.getTopics.
*/
topic: string;
/**
* The url for the subscription endpoint. Limited to 255 bytes, and must be unique for this user, i.e. no two subscriptions for a given user may use the same callback url.
*/
callback: string;
/**
* The verification mode, either sync or async. See the Google PubSubHubbub spec for details.
*/
verify: string;
/**
* The verification token to be echoed back to the subscriber during the verification callback, as per the Google PubSubHubbub spec. Limited to 200 bytes.
*/
verify_token?: string;
/**
* Number of seconds for which the subscription will be valid. Legal values are 60 to 86400 (1 minute to 1 day). If not present, the subscription will be auto-renewing.
*/
lease_seconds?: string;
/**
* A 32-bit integer for a Where on Earth ID. Only valid if topic is geo.
The order of precedence for geo subscriptions is : woe ids, place ids, radial i.e. the lat, lon parameters will be ignored if place_ids is present, which will be ignored if woe_ids is present.
*/
woe_ids?: string;
/**
* A comma-separated list of Flickr place IDs. Only valid if topic is geo.
The order of precedence for geo subscriptions is : woe ids, place ids, radial i.e. the lat, lon parameters will be ignored if place_ids is present, which will be ignored if woe_ids is present.
*/
place_ids?: string;
/**
* A latitude value, in decimal format. Only valid if topic is geo. Defines the latitude for a radial query centered around (lat, lon).
The order of precedence for geo subscriptions is : woe ids, place ids, radial i.e. the lat, lon parameters will be ignored if place_ids is present, which will be ignored if woe_ids is present.
*/
lat?: string;
/**
* A longitude value, in decimal format. Only valid if topic is geo. Defines the longitude for a radial query centered around (lat, lon).
The order of precedence for geo subscriptions is : woe ids, place ids, radial i.e. the lat, lon parameters will be ignored if place_ids is present, which will be ignored if woe_ids is present.
*/
lon?: string;
/**
* A radius value, in the units defined by radius_units. Only valid if topic is geo. Defines the radius of a circle for a radial query centered around (lat, lon). Default is 5 km.
The order of precedence for geo subscriptions is : woe ids, place ids, radial i.e. the lat, lon parameters will be ignored if place_ids is present, which will be ignored if woe_ids is present.
*/
radius?: string;
/**
* Defines the units for the radius parameter. Only valid if topic is geo. Options are mi and km. Default is km.
The order of precedence for geo subscriptions is : woe ids, place ids, radial i.e. the lat, lon parameters will be ignored if place_ids is present, which will be ignored if woe_ids is present.
*/
radius_units?: string;
/**
* Defines the minimum accuracy required for photos to be included in a subscription. Only valid if topic is geo Legal values are 1-16, default is 1 (i.e. any accuracy level).
topic is commons. If not present this argument defaults to all Flickr Commons institutions.
*/
nsids?: string;
/**
* A comma-separated list of strings to be used for tag subscriptions. Photos with one or more of the tags listed will be included in the subscription. Only valid if the topic is tags.
*/
tags?: string;
};