{"openapi":"3.1.0","info":{"title":"street.photo public catalogue","version":"1.0.0","description":"Read published street photography, framed print offers and exhibitions in French or English. No API key required. Prices are current in euro cents and exclude delivery."},"servers":[{"url":"https:\/\/street.photo"}],"externalDocs":{"url":"https:\/\/street.photo\/en\/docs"},"paths":{"\/api\/webmcp\/v1\/{locale}\/search_capsules":{"get":{"operationId":"search_capsules","summary":"Search capsules","description":"Search published street.photo photographs by keywords, location, year or collection. Returns previews and capsule page links.","parameters":[{"name":"locale","in":"path","required":true,"example":"en","schema":{"type":"string","enum":["fr","en"]}},{"name":"query","in":"query","description":"Keywords in the title and current-language texts; lexical search.","required":false,"schema":{"type":"string","minLength":1,"maxLength":200}},{"name":"city","in":"query","description":"City or part of its name.","required":false,"schema":{"type":"string","minLength":1,"maxLength":100}},{"name":"country_code","in":"query","description":"Two-letter uppercase ISO country code, for example FR.","required":false,"schema":{"type":"string","pattern":"^[A-Z]{2}$"}},{"name":"year","in":"query","description":"Year the photograph was taken.","required":false,"schema":{"type":"integer","minimum":1800,"maximum":2100}},{"name":"collection_number","in":"query","description":"Public collection number.","required":false,"schema":{"type":"integer","minimum":1,"maximum":65535}},{"name":"page","in":"query","description":"Page number, starting at 1.","required":false,"schema":{"type":"integer","minimum":1,"maximum":100}},{"name":"per_page","in":"query","description":"Results per page, 10 by default and at most 20.","required":false,"schema":{"type":"integer","minimum":1,"maximum":20}},{"name":"If-None-Match","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","const":true},"locale":{"type":"string","enum":["fr","en"]},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"number":{"type":"integer"},"title":{"type":"string"},"url":{"type":"string","format":"uri-reference","description":"Public URL relative to the API origin."},"location":{"type":"string"},"date":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"url":{"type":"string","format":"uri-reference","description":"Public URL relative to the API origin."},"width":{"type":"integer"},"height":{"type":"integer"},"alt":{"type":"string"}}},{"type":"null"}]},"collections":{"type":"array","items":{"type":"object","properties":{"number":{"type":"integer"},"title":{"type":"string"},"url":{"type":"string","format":"uri-reference","description":"Public URL relative to the API origin."}}}}},"required":["number","title","url"]}},"page":{"type":"integer"},"per_page":{"type":"integer"},"has_more":{"type":"boolean"}},"required":["items","page","per_page","has_more"]}},"required":["ok","locale","data"]}}},"headers":{"ETag":{"schema":{"type":"string"}}}},"422":{"$ref":"#\/components\/responses\/InvalidQuery"},"429":{"$ref":"#\/components\/responses\/RateLimited"},"304":{"description":"Unchanged representation. No response body."}}}},"\/api\/webmcp\/v1\/{locale}\/get_capsule":{"get":{"operationId":"get_capsule","summary":"Read a capsule","description":"Read the published story, location, date and music associated with a photograph using its public capsule number.","parameters":[{"name":"locale","in":"path","required":true,"example":"en","schema":{"type":"string","enum":["fr","en"]}},{"name":"capsule_number","in":"query","description":"Public capsule number, supplied by search.","required":true,"schema":{"type":"integer","minimum":1,"maximum":65535},"example":38},{"name":"If-None-Match","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","const":true},"locale":{"type":"string","enum":["fr","en"]},"data":{"type":"object","properties":{"number":{"type":"integer"},"title":{"type":"string"},"url":{"type":"string","format":"uri-reference","description":"Public URL relative to the API origin."},"location":{"type":"string"},"date":{"type":"string"},"image":{"anyOf":[{"type":"object","properties":{"url":{"type":"string","format":"uri-reference","description":"Public URL relative to the API origin."},"width":{"type":"integer"},"height":{"type":"integer"},"alt":{"type":"string"}}},{"type":"null"}]},"collections":{"type":"array","items":{"type":"object","properties":{"number":{"type":"integer"},"title":{"type":"string"},"url":{"type":"string","format":"uri-reference","description":"Public URL relative to the API origin."}}}},"story":{"type":"string"},"awards":{"type":"string"},"music":{"type":"object","properties":{"artist":{"type":"string"},"title":{"type":"string"},"album":{"type":"string"},"commentary":{"type":"string"},"url":{"type":["string","null"]}}},"truncated":{"type":"boolean"}},"required":["number","title","url","story"]}},"required":["ok","locale","data"]}}},"headers":{"ETag":{"schema":{"type":"string"}}}},"422":{"$ref":"#\/components\/responses\/InvalidQuery"},"429":{"$ref":"#\/components\/responses\/RateLimited"},"404":{"$ref":"#\/components\/responses\/NotPublished"},"304":{"description":"Unchanged representation. No response body."}}}},"\/api\/webmcp\/v1\/{locale}\/compare_print_options":{"get":{"operationId":"compare_print_options","summary":"Compare print options","description":"Compare available print configurations: edition, required finish and current price for one copy. The budget is in euros, excluding delivery.","parameters":[{"name":"locale","in":"path","required":true,"example":"en","schema":{"type":"string","enum":["fr","en"]}},{"name":"capsule_number","in":"query","description":"Public capsule number, supplied by search.","required":true,"schema":{"type":"integer","minimum":1,"maximum":65535},"example":38},{"name":"edition","in":"query","description":"Print edition to compare.","required":false,"schema":{"type":"string","enum":["fine-art","galerie","monumental"]}},{"name":"budget_eur","in":"query","description":"Maximum budget in euros for one print including its finish, excluding delivery.","required":false,"schema":{"type":"number","minimum":0,"maximum":1000000}},{"name":"page","in":"query","description":"Page number, starting at 1.","required":false,"schema":{"type":"integer","minimum":1,"maximum":100}},{"name":"per_page","in":"query","description":"Results per page, 10 by default and at most 20.","required":false,"schema":{"type":"integer","minimum":1,"maximum":20}}],"responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","const":true},"locale":{"type":"string","enum":["fr","en"]},"data":{"type":"object","properties":{"capsule_number":{"type":"integer"},"title":{"type":"string"},"checked_at":{"type":"string","format":"date-time"},"quantity":{"type":"integer"},"includes_delivery":{"type":"boolean"},"notice":{"type":"string"},"items":{"type":"array","items":{"type":"object","properties":{"edition":{"type":"string","enum":["fine-art","galerie","monumental"]},"label":{"type":"string"},"format":{"type":["string","null"]},"finish":{"type":"object","properties":{"name":{"type":"string"},"color":{"type":"string"},"material":{"type":"string"},"glazing":{"type":"string"},"description":{"type":"string"}}},"price_minor":{"type":"integer"},"finish_price_minor":{"type":"integer"},"total_minor":{"type":"integer"},"currency":{"type":"string","const":"EUR"},"available":{"type":"boolean"},"url":{"type":"string","format":"uri-reference","description":"Public URL relative to the API origin."}},"required":["edition","total_minor","currency","url"]}},"page":{"type":"integer"},"per_page":{"type":"integer"},"has_more":{"type":"boolean"}},"required":["items","page","per_page","has_more"]}},"required":["ok","locale","data"]}}}},"422":{"$ref":"#\/components\/responses\/InvalidQuery"},"429":{"$ref":"#\/components\/responses\/RateLimited"},"404":{"$ref":"#\/components\/responses\/NotPublished"}},"externalDocs":{"description":"Framed print prices and live example","url":"https:\/\/street.photo\/en\/docs#print-prices"}}},"\/api\/webmcp\/v1\/{locale}\/list_exhibitions":{"get":{"operationId":"list_exhibitions","summary":"Find an exhibition","description":"Read Clint\u2019s public exhibitions, venues and dates with time zones. Returns current and upcoming exhibitions by default.","parameters":[{"name":"locale","in":"path","required":true,"example":"en","schema":{"type":"string","enum":["fr","en"]}},{"name":"period","in":"query","description":"Exhibition period relative to the current date.","required":false,"schema":{"type":"string","enum":["current","upcoming","current_or_upcoming","past","all"]}},{"name":"city","in":"query","description":"City or part of its name.","required":false,"schema":{"type":"string","minLength":1,"maxLength":100}},{"name":"from_date","in":"query","description":"First intended visit day, YYYY-MM-DD, in each exhibition\u2019s own time zone.","required":false,"schema":{"type":"string","format":"date"}},{"name":"to_date","in":"query","description":"Last intended visit day inclusive, YYYY-MM-DD, in each exhibition\u2019s own time zone.","required":false,"schema":{"type":"string","format":"date"}},{"name":"page","in":"query","description":"Page number, starting at 1.","required":false,"schema":{"type":"integer","minimum":1,"maximum":100}},{"name":"per_page","in":"query","description":"Results per page, 10 by default and at most 20.","required":false,"schema":{"type":"integer","minimum":1,"maximum":20}},{"name":"If-None-Match","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","const":true},"locale":{"type":"string","enum":["fr","en"]},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string"},"url":{"type":"string","format":"uri-reference","description":"Public URL relative to the API origin."},"excerpt":{"type":"string"},"city":{"type":"string"},"venue":{"type":"string"},"address":{"type":"string"},"timezone":{"type":"string"},"period":{"type":"string"},"starts_at":{"type":"string","format":"date-time"},"ends_at":{"type":"string","format":"date-time"},"all_day":{"type":"boolean"}},"required":["title","url","starts_at","ends_at"]}},"page":{"type":"integer"},"per_page":{"type":"integer"},"has_more":{"type":"boolean"}},"required":["items","page","per_page","has_more"]}},"required":["ok","locale","data"]}}},"headers":{"ETag":{"schema":{"type":"string"}}}},"422":{"$ref":"#\/components\/responses\/InvalidQuery"},"429":{"$ref":"#\/components\/responses\/RateLimited"},"304":{"description":"Unchanged representation. No response body."}}}},"\/api\/webmcp\/v1\/{locale}\/get_site_information":{"get":{"operationId":"get_site_information","summary":"Read site information","description":"Read published, administered information about the artist, studio, app, contact and purchasing.","parameters":[{"name":"locale","in":"path","required":true,"example":"en","schema":{"type":"string","enum":["fr","en"]}},{"name":"topic","in":"query","description":"Public information topic to read.","required":true,"schema":{"type":"string","enum":["artist","studio","app","contact","buying_guide","faq","shop","terms","privacy","legal"]},"example":"shop"},{"name":"If-None-Match","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","const":true},"locale":{"type":"string","enum":["fr","en"]},"data":{"type":"object","properties":{"topic":{"type":"string"},"title":{"type":"string"},"url":{"type":"string","format":"uri-reference","description":"Public URL relative to the API origin."},"description":{"type":"string"},"text":{"type":"string"},"truncated":{"type":"boolean"},"sections":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string"}}}},"stores":{"type":"array","items":{"type":"object","properties":{"platform":{"type":"string"},"url":{"type":"string","format":"uri"}}}}},"required":["topic","title","url"]}},"required":["ok","locale","data"]}}},"headers":{"ETag":{"schema":{"type":"string"}}}},"422":{"$ref":"#\/components\/responses\/InvalidQuery"},"429":{"$ref":"#\/components\/responses\/RateLimited"},"404":{"$ref":"#\/components\/responses\/NotPublished"},"304":{"description":"Unchanged representation. No response body."}}}}},"components":{"schemas":{"Error":{"type":"object","properties":{"ok":{"type":"boolean","const":false},"error":{"type":"object","properties":{"code":{"type":"string","enum":["invalid_input","not_found","rate_limited"]},"message":{"type":"string"},"fields":{"type":"array","items":{"type":"string"}},"retry_after_seconds":{"type":"integer"}},"required":["code","message"]}},"required":["ok","error"]}},"responses":{"InvalidQuery":{"description":"Query parameters did not pass validation.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"NotPublished":{"description":"Content unavailable in the requested language.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"RateLimited":{"description":"Request limit exceeded. Retry after the indicated delay.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"headers":{"Retry-After":{"schema":{"type":"integer","minimum":0}}}}}}}