{"metadata":{"image":[],"title":"","description":""},"api":{"url":"","auth":"required","results":{"codes":[]},"settings":"","params":[]},"next":{"description":"","pages":[]},"title":"Database versions","type":"basic","slug":"database-versions","excerpt":"","body":"[block:callout]\n{\n  \"type\": \"warning\",\n  \"body\": \"Database versions are supported in the Fishbase API only at this time. We may support multiple versions of Sealifebase in the future.\"\n}\n[/block]\nThe Fishbase API supports multiple different versions of the underlying database.\n\nYou can request a different database version with a HTTP header like `Accept: application/vnd.ropensci.v3+json`\n\nWhere `v3` represents \"version 3\" and so on. These versions correspond to specific dates associated with different database versions. The current versions for Fishbase are:\n\n- 201505\n- 201604\n- 201703\n- 201712\n\nThe date format `YYYYMM` is four digits for year, then two digits for month, with no spaces/characters between them.\n\nBy default, we return the latest date version.\n\nSee the [`/versions`](#versions) route for description of the different versions and their names.\n\nIn the R client `rfishbase` the database version will be controlled by a parameter or option/env var, so users won't have to pass headers themselves.","updates":["5d1322bdc4cb6c001e04ece0"],"order":4,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5a0e4fdcc01242001cac3ec2","project":"5508a8940f146f3500b031c9","version":{"version":"1.0","version_clean":"1.0.0","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["5508a8950f146f3500b031cd","5a0e2e283bb0d9001c09e3e1","5a0e2f9844969800124f4d3a","5a0e2fdcc96bc7001288e17d"],"_id":"5508a8950f146f3500b031cc","__v":4,"createdAt":"2015-03-17T22:20:05.001Z","releaseDate":"2015-03-17T22:20:05.001Z","project":"5508a8940f146f3500b031c9"},"category":{"sync":{"isSync":false,"url":""},"pages":["5508a8960f146f3500b031cf"],"title":"Documentation","slug":"documentation","order":0,"from_sync":false,"reference":false,"_id":"5508a8950f146f3500b031cd","version":"5508a8950f146f3500b031cc","__v":1,"createdAt":"2015-03-17T22:20:05.520Z","project":"5508a8940f146f3500b031c9"},"user":"5508a87b99a1832100bf9569","createdAt":"2017-11-17T02:56:28.560Z","githubsync":"","__v":1,"parentDoc":null}
[block:callout] { "type": "warning", "body": "Database versions are supported in the Fishbase API only at this time. We may support multiple versions of Sealifebase in the future." } [/block] The Fishbase API supports multiple different versions of the underlying database. You can request a different database version with a HTTP header like `Accept: application/vnd.ropensci.v3+json` Where `v3` represents "version 3" and so on. These versions correspond to specific dates associated with different database versions. The current versions for Fishbase are: - 201505 - 201604 - 201703 - 201712 The date format `YYYYMM` is four digits for year, then two digits for month, with no spaces/characters between them. By default, we return the latest date version. See the [`/versions`](#versions) route for description of the different versions and their names. In the R client `rfishbase` the database version will be controlled by a parameter or option/env var, so users won't have to pass headers themselves.