File List

API endpoint that allows files to be viewed and edited. For information on uploading files via the API, see the documentation.

Filter fields

You can filter the result set by providing the following query parameters:

  • name -- Filter by file name, exact.
  • slug -- Filter by page slug. Supports the standard lookup types
  • region -- Filter by region. Allows for chained filtering on all of the filters available on the region resource, e.g. region__slug.

Ordering

You can order the result set by providing the ordering query parameter with the value of one of:

  • slug

You can reverse ordering by using the - sign, e.g. -slug.

GET /api/v4/files/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, POST, HEAD, OPTIONS
{ "count": 147986, "next": "https://localwiki.org/api/v4/files/?p=2", "previous": null, "results": [ { "url": "https://localwiki.org/api/v4/files/165413/", "name": "\u5909\u63db \uff5e DSC_0001.jpg", "file": "https://localwiki.org/media/pages/files/ibjvl0quomg72nma.jpg", "slug": "\u6c34\u4e2d\u5730\u3059\u3078\u308a\u5806\u7a4d\u7269", "region": "https://localwiki.org/api/v4/regions/351/" }, { "url": "https://localwiki.org/api/v4/files/165412/", "name": "\u5909\u63db \uff5e DSC_0014.jpg", "file": "https://localwiki.org/media/pages/files/4bgv9c2kcnwgbhj3.jpg", "slug": "\u852d\u306e\u6ca2\u6a4b\u306b\u3082\u767b\u5225\u8edf\u77f3\u304b\u4f7f\u308f\u308c\u3066\u3044\u305f", "region": "https://localwiki.org/api/v4/regions/351/" }, { "url": "https://localwiki.org/api/v4/files/165411/", "name": "\u5909\u63db \uff5e DSCF0225.jpg", "file": "https://localwiki.org/media/pages/files/ny3ym1cccygwml3c.jpg", "slug": "\u5897\u5e02\u753a\u306b\u3082\u767b\u5225\u8edf\u77f3\u306e\u5840\u304b\u7d50\u69cb\u3042\u308b\u306d", "region": "https://localwiki.org/api/v4/regions/234/" }, { "url": "https://localwiki.org/api/v4/files/165410/", "name": "IMG_20190416_134059640_HDR.jpg", "file": "https://localwiki.org/media/pages/files/tv4hqb4w16sptv54.jpg", "slug": "the bog garden", "region": "https://localwiki.org/api/v4/regions/783/" }, { "url": "https://localwiki.org/api/v4/files/165409/", "name": "IMG_20190416_140511956_HDR.jpg", "file": "https://localwiki.org/media/pages/files/4ptcxyq6t0lebakl.jpg", "slug": "the bog garden", "region": "https://localwiki.org/api/v4/regions/783/" }, { "url": "https://localwiki.org/api/v4/files/165408/", "name": "IMG_20190416_135040459_HDR 2.jpg", "file": "https://localwiki.org/media/pages/files/6edp3u13wrc8f2g9.jpg", "slug": "the bog garden", "region": "https://localwiki.org/api/v4/regions/783/" }, { "url": "https://localwiki.org/api/v4/files/165407/", "name": "IMG_20190416_135040459_HDR.jpg", "file": "https://localwiki.org/media/pages/files/8dtp5cck118w1sqa.jpg", "slug": "the bog garden", "region": "https://localwiki.org/api/v4/regions/783/" }, { "url": "https://localwiki.org/api/v4/files/165406/", "name": "IMG_20190416_134811636.jpg", "file": "https://localwiki.org/media/pages/files/0b6pc42yr1042fjl.jpg", "slug": "the bog garden", "region": "https://localwiki.org/api/v4/regions/783/" }, { "url": "https://localwiki.org/api/v4/files/165405/", "name": "IMG_3596.JPG", "file": "https://localwiki.org/media/pages/files/8n4a4o3tdw3i1dvl.JPG", "slug": "cfbg records", "region": "https://localwiki.org/api/v4/regions/783/" }, { "url": "https://localwiki.org/api/v4/files/165404/", "name": "coffee.jpg", "file": "https://localwiki.org/media/pages/files/0iexk3aj7l912nk6.jpg", "slug": "uwharrie mercantile", "region": "https://localwiki.org/api/v4/regions/2001/" }, { "url": "https://localwiki.org/api/v4/files/165403/", "name": "cake.jpg", "file": "https://localwiki.org/media/pages/files/lc3njukjkyzsydu7.jpg", "slug": "uwharrie mercantile", "region": "https://localwiki.org/api/v4/regions/2001/" }, { "url": "https://localwiki.org/api/v4/files/165402/", "name": "75248_10150973186949418_2005305784_n.jpg", "file": "https://localwiki.org/media/pages/files/npayno6flylptl16.jpg", "slug": "weaver street market", "region": "https://localwiki.org/api/v4/regions/245/" }, { "url": "https://localwiki.org/api/v4/files/165401/", "name": "drink.jpg", "file": "https://localwiki.org/media/pages/files/qh59fn56zk2a6p2f.jpg", "slug": "uwharrie mercantile", "region": "https://localwiki.org/api/v4/regions/2001/" }, { "url": "https://localwiki.org/api/v4/files/165400/", "name": "mercantile.PNG", "file": "https://localwiki.org/media/pages/files/xb5tir02ii8weljn.PNG", "slug": "uwharrie mercantile", "region": "https://localwiki.org/api/v4/regions/2001/" }, { "url": "https://localwiki.org/api/v4/files/165399/", "name": "jeff 4.png", "file": "https://localwiki.org/media/pages/files/0y1tkzeysdgd9m22.png", "slug": "cfbg records", "region": "https://localwiki.org/api/v4/regions/783/" }, { "url": "https://localwiki.org/api/v4/files/165398/", "name": "Fildena-150-mg-Tablet 2.png", "file": "https://localwiki.org/media/pages/files/vxvkk95ekxawjnr0.png", "slug": "users/josianetrem", "region": "https://localwiki.org/api/v4/regions/3/" }, { "url": "https://localwiki.org/api/v4/files/165397/", "name": "Failed resolution.docx", "file": "https://localwiki.org/media/pages/files/haydtvdl4t9pz3l0.docx", "slug": "controversial response of uc davis ethnic and cultural affairs commission to the murder of officer natalie corona", "region": "https://localwiki.org/api/v4/regions/358/" }, { "url": "https://localwiki.org/api/v4/files/165396/", "name": "080611101127.jpg", "file": "https://localwiki.org/media/pages/files/66v74eoxuyq9bsrw.jpg", "slug": "junk removal", "region": "https://localwiki.org/api/v4/regions/68/" }, { "url": "https://localwiki.org/api/v4/files/165395/", "name": "PicsArt_01-02-01.36.27.jpg", "file": "https://localwiki.org/media/pages/files/hkzxw4zyy47f7j0s.jpg", "slug": "junk removal", "region": "https://localwiki.org/api/v4/regions/62/" }, { "url": "https://localwiki.org/api/v4/files/165394/", "name": "Onchi IGA.jpg", "file": "https://localwiki.org/media/pages/files/glzq9wkz7m1a335b.jpg", "slug": "onchiota", "region": "https://localwiki.org/api/v4/regions/23/" }, { "url": "https://localwiki.org/api/v4/files/165393/", "name": "IMG_0705.jpg", "file": "https://localwiki.org/media/pages/files/inttuz0s829ggv6x.jpg", "slug": "saranac lake-license plate topper 1930's -1940's", "region": "https://localwiki.org/api/v4/regions/23/" }, { "url": "https://localwiki.org/api/v4/files/165392/", "name": "s-l1600-1.jpg", "file": "https://localwiki.org/media/pages/files/7dxrn87anikdrzi2.jpg", "slug": "saranac lake-license plate topper 1930's -1940's", "region": "https://localwiki.org/api/v4/regions/23/" }, { "url": "https://localwiki.org/api/v4/files/165391/", "name": "080611101127.jpg", "file": "https://localwiki.org/media/pages/files/p8xl2cugtil8hllx.jpg", "slug": "nance property services", "region": "https://localwiki.org/api/v4/regions/358/" }, { "url": "https://localwiki.org/api/v4/files/165390/", "name": "21273056_1471450572949473_104929651658148323_o (1).jpg", "file": "https://localwiki.org/media/pages/files/f2oixfjcxsk0axj8.jpg", "slug": "nance property services", "region": "https://localwiki.org/api/v4/regions/358/" }, { "url": "https://localwiki.org/api/v4/files/165389/", "name": "28059124_10211545851664454_6073371305404506411_n.jpg", "file": "https://localwiki.org/media/pages/files/1qztcbdrssygc8l0.jpg", "slug": "users/jewlz", "region": "https://localwiki.org/api/v4/regions/358/" }, { "url": "https://localwiki.org/api/v4/files/165388/", "name": "Bill Smith.jpg", "file": "https://localwiki.org/media/pages/files/vjbc9bqe8k51yymn.jpg", "slug": "william h. smith", "region": "https://localwiki.org/api/v4/regions/23/" }, { "url": "https://localwiki.org/api/v4/files/165387/", "name": "IMG_4141 2.JPG", "file": "https://localwiki.org/media/pages/files/pftkjgcy5yc245jq.JPG", "slug": "arizona historical society downtown history museum", "region": "https://localwiki.org/api/v4/regions/196/" }, { "url": "https://localwiki.org/api/v4/files/165386/", "name": "IMG_4141.JPG", "file": "https://localwiki.org/media/pages/files/u1mfs2xtj41t1c1o.JPG", "slug": "arizona historical society downtown history museum", "region": "https://localwiki.org/api/v4/regions/196/" }, { "url": "https://localwiki.org/api/v4/files/165385/", "name": "Photo Apr 12, 12 18 57 PM 4.jpg", "file": "https://localwiki.org/media/pages/files/ka9abjx1ky86aem1.jpg", "slug": "arizona historical society downtown history museum", "region": "https://localwiki.org/api/v4/regions/196/" }, { "url": "https://localwiki.org/api/v4/files/165384/", "name": "Photo Apr 12, 12 18 57 PM 3.jpg", "file": "https://localwiki.org/media/pages/files/vblgbt8y38wuly62.jpg", "slug": "arizona historical society downtown history museum", "region": "https://localwiki.org/api/v4/regions/196/" } ] }