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": 178207, "next": "https://zh.localwiki.org/api/v4/files/?p=2", "previous": null, "results": [ { "url": "https://zh.localwiki.org/api/v4/files/195637/", "name": "00727_03_1950-9-0311 - miles.jpg", "file": "https://zh.localwiki.org/media/pages/files/30qkbkwan5pwdq9v.jpg", "slug": "siegriest house", "region": "https://zh.localwiki.org/api/v4/regions/340/" }, { "url": "https://zh.localwiki.org/api/v4/files/195636/", "name": "00727_03_1903-9-0296 - miles.jpg", "file": "https://zh.localwiki.org/media/pages/files/lnbw1jt1zeikihg5.jpg", "slug": "siegriest house", "region": "https://zh.localwiki.org/api/v4/regions/340/" }, { "url": "https://zh.localwiki.org/api/v4/files/195635/", "name": "pagoda hill - 1888.jpg", "file": "https://zh.localwiki.org/media/pages/files/k2s1rv484jbctat9.jpg", "slug": "pagoda hill", "region": "https://zh.localwiki.org/api/v4/regions/340/" }, { "url": "https://zh.localwiki.org/api/v4/files/195634/", "name": "konzoin-stone-statues.JPG", "file": "https://zh.localwiki.org/media/pages/files/k7o5tv95da2fsxx7.JPG", "slug": "\u91d1\u8535\u9662", "region": "https://zh.localwiki.org/api/v4/regions/2638/" }, { "url": "https://zh.localwiki.org/api/v4/files/195633/", "name": "konzoin-hondo.JPG", "file": "https://zh.localwiki.org/media/pages/files/buh4tzpuflh61tha.JPG", "slug": "\u91d1\u8535\u9662", "region": "https://zh.localwiki.org/api/v4/regions/2638/" }, { "url": "https://zh.localwiki.org/api/v4/files/195632/", "name": "konzoin-entrance.JPG", "file": "https://zh.localwiki.org/media/pages/files/wddrkhuwvibdgcut.JPG", "slug": "\u91d1\u8535\u9662", "region": "https://zh.localwiki.org/api/v4/regions/2638/" }, { "url": "https://zh.localwiki.org/api/v4/files/195631/", "name": "ittokuji-inari.JPG", "file": "https://zh.localwiki.org/media/pages/files/69ai69s7b8eeb7xj.JPG", "slug": "\u4e00\u5fb3\u5bfa", "region": "https://zh.localwiki.org/api/v4/regions/2638/" }, { "url": "https://zh.localwiki.org/api/v4/files/195630/", "name": "ittokuji-entrance.JPG", "file": "https://zh.localwiki.org/media/pages/files/zra09xkhrbmfzlne.JPG", "slug": "\u4e00\u5fb3\u5bfa", "region": "https://zh.localwiki.org/api/v4/regions/2638/" }, { "url": "https://zh.localwiki.org/api/v4/files/195629/", "name": "gyokusenji-kyoishi.JPG", "file": "https://zh.localwiki.org/media/pages/files/nnlmtctxluzoxyxo.JPG", "slug": "\u7389\u6cc9\u5bfa", "region": "https://zh.localwiki.org/api/v4/regions/2638/" }, { "url": "https://zh.localwiki.org/api/v4/files/195628/", "name": "gyokusenji-sanmon.JPG", "file": "https://zh.localwiki.org/media/pages/files/y066ymrzk3opi9i5.JPG", "slug": "\u7389\u6cc9\u5bfa", "region": "https://zh.localwiki.org/api/v4/regions/2638/" }, { "url": "https://zh.localwiki.org/api/v4/files/195627/", "name": "gyokusenji-nameboard.JPG", "file": "https://zh.localwiki.org/media/pages/files/hei4gfos6fd4pp82.JPG", "slug": "\u7389\u6cc9\u5bfa", "region": "https://zh.localwiki.org/api/v4/regions/2638/" }, { "url": "https://zh.localwiki.org/api/v4/files/195626/", "name": "gyokusenji-hondo.JPG", "file": "https://zh.localwiki.org/media/pages/files/4luamazq6ks5zat8.JPG", "slug": "\u7389\u6cc9\u5bfa", "region": "https://zh.localwiki.org/api/v4/regions/2638/" }, { "url": "https://zh.localwiki.org/api/v4/files/195625/", "name": "manpkuji-crest.JPG", "file": "https://zh.localwiki.org/media/pages/files/auvilszvn5rylymb.JPG", "slug": "\u6e80\u798f\u5bfa", "region": "https://zh.localwiki.org/api/v4/regions/2638/" }, { "url": "https://zh.localwiki.org/api/v4/files/195624/", "name": "manpukuji-belldome.JPG", "file": "https://zh.localwiki.org/media/pages/files/emkjzvlui2ja317k.JPG", "slug": "\u6e80\u798f\u5bfa", "region": "https://zh.localwiki.org/api/v4/regions/2638/" }, { "url": "https://zh.localwiki.org/api/v4/files/195623/", "name": "manpukuji-hondo.JPG", "file": "https://zh.localwiki.org/media/pages/files/tuxq8wg4htoki55w.JPG", "slug": "\u6e80\u798f\u5bfa", "region": "https://zh.localwiki.org/api/v4/regions/2638/" }, { "url": "https://zh.localwiki.org/api/v4/files/195622/", "name": "manpukuji-maingate.JPG", "file": "https://zh.localwiki.org/media/pages/files/or84aipxwylemr2n.JPG", "slug": "\u6e80\u798f\u5bfa", "region": "https://zh.localwiki.org/api/v4/regions/2638/" }, { "url": "https://zh.localwiki.org/api/v4/files/195621/", "name": "togakuji-hondo.JPG", "file": "https://zh.localwiki.org/media/pages/files/vw1d179k4gnv8wdh.JPG", "slug": "\u6771\u5b66\u5bfa", "region": "https://zh.localwiki.org/api/v4/regions/2638/" }, { "url": "https://zh.localwiki.org/api/v4/files/195620/", "name": "togakuji-crest.JPG", "file": "https://zh.localwiki.org/media/pages/files/mv6odi6ylj1af51l.JPG", "slug": "\u6771\u5b66\u5bfa", "region": "https://zh.localwiki.org/api/v4/regions/2638/" }, { "url": "https://zh.localwiki.org/api/v4/files/195619/", "name": "togakuji-tora-yakushi.JPG", "file": "https://zh.localwiki.org/media/pages/files/8hmztza7n1ljqafl.JPG", "slug": "\u6771\u5b66\u5bfa", "region": "https://zh.localwiki.org/api/v4/regions/2638/" }, { "url": "https://zh.localwiki.org/api/v4/files/195618/", "name": "togakuji-maingate.JPG", "file": "https://zh.localwiki.org/media/pages/files/i4eqkyedzs4752iq.JPG", "slug": "\u6771\u5b66\u5bfa", "region": "https://zh.localwiki.org/api/v4/regions/2638/" }, { "url": "https://zh.localwiki.org/api/v4/files/195617/", "name": "enzoin-crest.JPG", "file": "https://zh.localwiki.org/media/pages/files/5p4jxpn4kjrl0rla.JPG", "slug": "\u5186\u8535\u9662", "region": "https://zh.localwiki.org/api/v4/regions/2638/" }, { "url": "https://zh.localwiki.org/api/v4/files/195616/", "name": "enzoin-seitendo.JPG", "file": "https://zh.localwiki.org/media/pages/files/wyw2puhnsv43cys5.JPG", "slug": "\u5186\u8535\u9662", "region": "https://zh.localwiki.org/api/v4/regions/2638/" }, { "url": "https://zh.localwiki.org/api/v4/files/195615/", "name": "enzoin.JPG", "file": "https://zh.localwiki.org/media/pages/files/w1pt3n3tjs9c274o.JPG", "slug": "\u5186\u8535\u9662", "region": "https://zh.localwiki.org/api/v4/regions/2638/" }, { "url": "https://zh.localwiki.org/api/v4/files/195614/", "name": "lotus-flower-in-the-garden-of-rengeji.JPG", "file": "https://zh.localwiki.org/media/pages/files/xy9n6kil4t4elf81.JPG", "slug": "\u84ee", "region": "https://zh.localwiki.org/api/v4/regions/2638/" }, { "url": "https://zh.localwiki.org/api/v4/files/195613/", "name": "syorenji-hondo.JPG", "file": "https://zh.localwiki.org/media/pages/files/esxrga9fy3dcln17.JPG", "slug": "\u6b63\u84ee\u5bfa", "region": "https://zh.localwiki.org/api/v4/regions/2638/" }, { "url": "https://zh.localwiki.org/api/v4/files/195612/", "name": "rengeji-hondo.JPG", "file": "https://zh.localwiki.org/media/pages/files/mwhju200ijzsc4ub.JPG", "slug": "\u84ee\u83ef\u5bfa", "region": "https://zh.localwiki.org/api/v4/regions/2638/" }, { "url": "https://zh.localwiki.org/api/v4/files/195611/", "name": "route255south.JPG", "file": "https://zh.localwiki.org/media/pages/files/zqy6o35yya4loex7.JPG", "slug": "\u56fd\u9053255\u53f7\u7dda", "region": "https://zh.localwiki.org/api/v4/regions/2638/" }, { "url": "https://zh.localwiki.org/api/v4/files/195610/", "name": "route255north.JPG", "file": "https://zh.localwiki.org/media/pages/files/p8qjs6vlk4f86wxa.JPG", "slug": "\u56fd\u9053255\u53f7\u7dda", "region": "https://zh.localwiki.org/api/v4/regions/2638/" }, { "url": "https://zh.localwiki.org/api/v4/files/195609/", "name": "seitaiji-approach.JPG", "file": "https://zh.localwiki.org/media/pages/files/mvzes4k5rdboid10.JPG", "slug": "\u76db\u6cf0\u5bfa", "region": "https://zh.localwiki.org/api/v4/regions/2638/" }, { "url": "https://zh.localwiki.org/api/v4/files/195608/", "name": "chozenji-hondo.JPG", "file": "https://zh.localwiki.org/media/pages/files/o661lcj0e5uw7unr.JPG", "slug": "\u9577\u5584\u5bfa", "region": "https://zh.localwiki.org/api/v4/regions/2638/" } ] }