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/?p=2
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, POST, HEAD, OPTIONS
{ "count": 172962, "next": "https://ja.localwiki.org/api/v4/files/?p=3", "previous": "https://ja.localwiki.org/api/v4/files/?p=1", "results": [ { "url": "https://ja.localwiki.org/api/v4/files/190362/", "name": "IMG_0058.jpg", "file": "https://ja.localwiki.org/media/pages/files/0mtklwkoljdlq65j.jpg", "slug": "\u6c34\u660e\u5c0f\u5b66\u6821\u7ae3\u5de5\u8a18\u5ff5\u30cf\u30f3\u30d5\u30ec\u30c3\u30c8", "region": "https://ja.localwiki.org/api/v4/regions/1002/" }, { "url": "https://ja.localwiki.org/api/v4/files/190361/", "name": "IMG_0057.jpg", "file": "https://ja.localwiki.org/media/pages/files/ig8lf7dgc05wr8ff.jpg", "slug": "\u6c34\u660e\u5c0f\u5b66\u6821\u7ae3\u5de5\u8a18\u5ff5\u30cf\u30f3\u30d5\u30ec\u30c3\u30c8", "region": "https://ja.localwiki.org/api/v4/regions/1002/" }, { "url": "https://ja.localwiki.org/api/v4/files/190360/", "name": "IMG_0056.jpg", "file": "https://ja.localwiki.org/media/pages/files/0vay2dtph4huksp3.jpg", "slug": "\u6c34\u660e\u5c0f\u5b66\u6821\u7ae3\u5de5\u8a18\u5ff5\u30cf\u30f3\u30d5\u30ec\u30c3\u30c8", "region": "https://ja.localwiki.org/api/v4/regions/1002/" }, { "url": "https://ja.localwiki.org/api/v4/files/190359/", "name": "IMG_20210605_102907.jpg", "file": "https://ja.localwiki.org/media/pages/files/h11a8hw3ysimydvl.jpg", "slug": "\u5927\u91cc\u6751\u5f79\u5834\u8de1\u8a18\u5ff5\u7891", "region": "https://ja.localwiki.org/api/v4/regions/1002/" }, { "url": "https://ja.localwiki.org/api/v4/files/190358/", "name": "IMAG1134 (1).jpg", "file": "https://ja.localwiki.org/media/pages/files/ur5t7z2ndm8bqgcw.jpg", "slug": "\u5927\u91cc\u6751\u5f79\u5834\u8de1\u8a18\u5ff5\u7891", "region": "https://ja.localwiki.org/api/v4/regions/1002/" }, { "url": "https://ja.localwiki.org/api/v4/files/190357/", "name": "IMG_20210605_102837.jpg", "file": "https://ja.localwiki.org/media/pages/files/4fei6vmvq6scfksn.jpg", "slug": "\u5927\u91cc\u6751\u5f79\u5834\u8de1\u8a18\u5ff5\u7891", "region": "https://ja.localwiki.org/api/v4/regions/1002/" }, { "url": "https://ja.localwiki.org/api/v4/files/190356/", "name": "IMG_0055.jpg", "file": "https://ja.localwiki.org/media/pages/files/u417zkjg1ayujnak.jpg", "slug": "\u5927\u91cc\u6751\u5f79\u5834\u8de1\u8a18\u5ff5\u7891\u5efa\u7acb\u306e\u3057\u304a\u308a", "region": "https://ja.localwiki.org/api/v4/regions/1002/" }, { "url": "https://ja.localwiki.org/api/v4/files/190355/", "name": "IMG_0053.jpg", "file": "https://ja.localwiki.org/media/pages/files/wchh47niho485z8l.jpg", "slug": "\u5927\u91cc\u6751\u5f79\u5834\u8de1\u8a18\u5ff5\u7891\u5efa\u7acb\u306e\u3057\u304a\u308a", "region": "https://ja.localwiki.org/api/v4/regions/1002/" }, { "url": "https://ja.localwiki.org/api/v4/files/190354/", "name": "IMG_0052.jpg", "file": "https://ja.localwiki.org/media/pages/files/oo3qq9a6yj8r3cmt.jpg", "slug": "\u5927\u91cc\u6751\u5f79\u5834\u8de1\u8a18\u5ff5\u7891\u5efa\u7acb\u306e\u3057\u304a\u308a", "region": "https://ja.localwiki.org/api/v4/regions/1002/" }, { "url": "https://ja.localwiki.org/api/v4/files/190353/", "name": "IMG_0054.jpg", "file": "https://ja.localwiki.org/media/pages/files/d2dkxzu0r50y461d.jpg", "slug": "\u5927\u91cc\u6751\u5f79\u5834\u8de1\u8a18\u5ff5\u7891\u5efa\u7acb\u306e\u3057\u304a\u308a", "region": "https://ja.localwiki.org/api/v4/regions/1002/" }, { "url": "https://ja.localwiki.org/api/v4/files/190352/", "name": "IMG_0051.jpg", "file": "https://ja.localwiki.org/media/pages/files/vkd9nfzdelxwiyta.jpg", "slug": "\u5927\u91cc\u6751\u5f79\u5834\u8de1\u8a18\u5ff5\u7891\u5efa\u7acb\u306e\u3057\u304a\u308a", "region": "https://ja.localwiki.org/api/v4/regions/1002/" }, { "url": "https://ja.localwiki.org/api/v4/files/190351/", "name": "IMG_0050 2.jpg", "file": "https://ja.localwiki.org/media/pages/files/nmyv1mq3iihweyhh.jpg", "slug": "\u5927\u91cc\u6751\u5f79\u5834\u8de1\u8a18\u5ff5\u7891\u5efa\u7acb\u306e\u3057\u304a\u308a", "region": "https://ja.localwiki.org/api/v4/regions/1002/" }, { "url": "https://ja.localwiki.org/api/v4/files/190350/", "name": "IMG_0050.jpg", "file": "https://ja.localwiki.org/media/pages/files/e3qawwhu5n81uwkl.jpg", "slug": "\u5927\u91cc\u6751\u5f79\u5834\u8de1\u8a18\u5ff5\u7891\u5efa\u7acb\u306e\u3057\u304a\u308a", "region": "https://ja.localwiki.org/api/v4/regions/1002/" }, { "url": "https://ja.localwiki.org/api/v4/files/190349/", "name": "1638267595535-04765810-ae54-40e6-b7cb-a93a94ee92d7_.jpg", "file": "https://ja.localwiki.org/media/pages/files/lmpmv1v4of06e6il.jpg", "slug": "\u5927\u91cc\u5c0f\u5b66\u6821", "region": "https://ja.localwiki.org/api/v4/regions/1002/" }, { "url": "https://ja.localwiki.org/api/v4/files/190348/", "name": "IMG_20211130_111819.jpg", "file": "https://ja.localwiki.org/media/pages/files/vshadzgs72f486my.jpg", "slug": "\u5fe0\u9b42\u7891(\u91c8\u5c0a\u5bfa)", "region": "https://ja.localwiki.org/api/v4/regions/1002/" }, { "url": "https://ja.localwiki.org/api/v4/files/190347/", "name": "IMG_20211130_111809.jpg", "file": "https://ja.localwiki.org/media/pages/files/4870zdyuzqil6enf.jpg", "slug": "\u5fe0\u9b42\u7891(\u91c8\u5c0a\u5bfa)", "region": "https://ja.localwiki.org/api/v4/regions/1002/" }, { "url": "https://ja.localwiki.org/api/v4/files/190346/", "name": "IMG_20211130_111719.jpg", "file": "https://ja.localwiki.org/media/pages/files/amvy74q2ulblwe9f.jpg", "slug": "\u5fe0\u9b42\u7891(\u91c8\u5c0a\u5bfa)", "region": "https://ja.localwiki.org/api/v4/regions/1002/" }, { "url": "https://ja.localwiki.org/api/v4/files/190345/", "name": "IMG_20211130_111637.jpg", "file": "https://ja.localwiki.org/media/pages/files/i8a5wee1ft7fu12m.jpg", "slug": "\u5fe0\u9b42\u7891(\u91c8\u5c0a\u5bfa)", "region": "https://ja.localwiki.org/api/v4/regions/1002/" }, { "url": "https://ja.localwiki.org/api/v4/files/190344/", "name": "IMG_20211130_111620.jpg", "file": "https://ja.localwiki.org/media/pages/files/d5qhwmevvsx6zorb.jpg", "slug": "\u5fe0\u9b42\u7891(\u91c8\u5c0a\u5bfa)", "region": "https://ja.localwiki.org/api/v4/regions/1002/" }, { "url": "https://ja.localwiki.org/api/v4/files/190343/", "name": "IMG_20211130_111528.jpg", "file": "https://ja.localwiki.org/media/pages/files/34dqa375nr518k3b.jpg", "slug": "\u5fe0\u9b42\u7891(\u91c8\u5c0a\u5bfa)", "region": "https://ja.localwiki.org/api/v4/regions/1002/" }, { "url": "https://ja.localwiki.org/api/v4/files/190342/", "name": "IMG_20211130_111443.jpg", "file": "https://ja.localwiki.org/media/pages/files/1y2cfglujliuaf5l.jpg", "slug": "\u5fe0\u9b42\u7891(\u91c8\u5c0a\u5bfa)", "region": "https://ja.localwiki.org/api/v4/regions/1002/" }, { "url": "https://ja.localwiki.org/api/v4/files/190341/", "name": "Banner_7_-_Industrial_fitting.jpg", "file": "https://ja.localwiki.org/media/pages/files/00diwn46yxrqluzv.jpg", "slug": "hydraulic hose fittings and metric adapters", "region": "https://ja.localwiki.org/api/v4/regions/3/" }, { "url": "https://ja.localwiki.org/api/v4/files/190340/", "name": "Logo.jpg", "file": "https://ja.localwiki.org/media/pages/files/duqioxoolyw05mw0.jpg", "slug": "front page", "region": "https://ja.localwiki.org/api/v4/regions/2619/" }, { "url": "https://ja.localwiki.org/api/v4/files/190339/", "name": "Logo.jpg", "file": "https://ja.localwiki.org/media/pages/files/ooltupvprdur1cmz.jpg", "slug": "users/donovanhomesales", "region": "https://ja.localwiki.org/api/v4/regions/3/" }, { "url": "https://ja.localwiki.org/api/v4/files/190338/", "name": "1944 oaklandalamedabe00paci 1944.jpg", "file": "https://ja.localwiki.org/media/pages/files/z12f8780k6r04ogl.jpg", "slug": "photos/1945 macarthur at loma vista", "region": "https://ja.localwiki.org/api/v4/regions/340/" }, { "url": "https://ja.localwiki.org/api/v4/files/190337/", "name": "1940 oaklandalamedabe1940pacirich_0141 1940.jpg", "file": "https://ja.localwiki.org/media/pages/files/3e6cwml71aa25a3i.jpg", "slug": "photos/1945 macarthur at loma vista", "region": "https://ja.localwiki.org/api/v4/regions/340/" }, { "url": "https://ja.localwiki.org/api/v4/files/190336/", "name": "1945 license plate.jpg", "file": "https://ja.localwiki.org/media/pages/files/56z8ndo97poaunwg.jpg", "slug": "photos/1945 macarthur at loma vista", "region": "https://ja.localwiki.org/api/v4/regions/340/" }, { "url": "https://ja.localwiki.org/api/v4/files/190335/", "name": "laurel1.jpg", "file": "https://ja.localwiki.org/media/pages/files/mx65ce165a2mj1kt.jpg", "slug": "photos/1945 macarthur at loma vista", "region": "https://ja.localwiki.org/api/v4/regions/340/" }, { "url": "https://ja.localwiki.org/api/v4/files/190334/", "name": "laurel2.jpg", "file": "https://ja.localwiki.org/media/pages/files/uo1iq6aayg5tne48.jpg", "slug": "photos/1945 macarthur at loma vista", "region": "https://ja.localwiki.org/api/v4/regions/340/" }, { "url": "https://ja.localwiki.org/api/v4/files/190333/", "name": "laurel2.jpg", "file": "https://ja.localwiki.org/media/pages/files/uo1iq6aayg5tne48.jpg", "slug": "photos/1943 macarthur at loma vista", "region": "https://ja.localwiki.org/api/v4/regions/340/" } ] }