Updates to our APIs (2020-11-25)
New AIS endpoint:
Sustainability in aquaculture:
Removed endpoint:
/v1/geodata/bki/dataset/salmontroutescapes/{year}/{month}
Added endpoints:
New waveforecast endpoint:
New AIS endpoint:
Sustainability in aquaculture:
Removed endpoint:
/v1/geodata/bki/dataset/salmontroutescapes/{year}/{month}
Added endpoints:
New waveforecast endpoint:
New endpoints Fishhealth:
Get info about a fairway: https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=Fishhealth%20API#/Fairway/get_v1_geodata_fairways__id_
Updated data in Fishhealth:
The API no longer includes info about cleaner fish treatments from week 16, 2018 or later. This data was incomplete due to transition to new reporting.
New endpoints Fiskinfo:
Get all downloadable datasets: https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=FishInfo%20API#/Download/get_v1_geodata_service_downloadable
Get info about a downloadable dataset: https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=FishInfo%20API#/DownloadableDatasets/get_v1_geodata_service_downloadable__datasetname_
New endpoints for FishHealth:
Get information about a cod spawningground https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=Fishhealth%20API#/CodSpawningGround/get_v1_geodata_codspawningground__id_
Get information about a salmonfjord https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=Fishhealth%20API#/SalmonFjord/get_v1_geodata_salmonfjord__id_
New endpoints current waves forecast for Langesund. Note that the enpoints do not yet have data.
New endpoints Fishhealth:
V2 version of these endpoints with epsg:4326 coodinate system.
Corresponding V1-endpoints are deprecated, and will be removed after 1. january 2021.
New endpoint FiskInfo:
Download Andøya Firing Range data to chart plotter format: https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=FishInfo%20API#/Download/get_v1_geodata_download_andoya_firing_range_danger_zone
Modified nedpoint FiskInfo:
These endpoints would previously return an empty object if the request was not authorized. It will now return 401 if the request is not authorized:
New endpoints AIS:
V2 version of these endpoints, where more of the model is nullable:
Corresponding V1-endpoints are deprecated, and will be removed after 1. january 2021.
New endpoints for FishHealth:
Get maritime boundaries relevant for FishHealth: https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=Fishhealth%20API#/MaritimeBoundary/get_v1_geodata_fishhealth_maritimeboundary
Get national salmon rivers: https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=Fishhealth%20API#/NationalSalmonRiver/get_v1_geodata_fishhealth_nationalsalmonriver
Get national PD zones: https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=Fishhealth%20API#/PdZone/get_v1_geodata_fishhealth_pdzone
FishHealth
New endpint: v1/geodata/fishslaughterhouses - Searchable list of fishslaughterhouses. Establishment, Company and ApprovalNumber fields are used when filtering.
The following APIs have been updated:
AIS
Data now include heading and ship dimensions (a, b, c, d) (several endpoints affected) https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=AIS%20API#/AIS/get_v1_geodata_ais_openpositions
FishHealth
New endpoint for shimpfishingground: https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=Fishhealth%20API#/ShrimpFishingGround/get_v1_geodata_shrimpfishingground__id_
New search parameter for aquaculture sites: https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=Fishhealth%20API#/FishhealthLocality/get_v1_geodata_fishhealth_localities
New search parameter for wellboats: https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=Fishhealth%20API#/WellBoatWeek/get_v1_shipregister_wellboats
There has also been small changes in the OpenAPI docs to how GeoJson is declared, though the APIs are unchanged.
We have published updated API documentation using the OpenAPI standard (Swagger):
AIS: https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=AIS%20API
Fish Health: https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=Fishhealth%20API
There are also some new additions to the APIs:
Fish Health:
New endpoint for production area info for a week: https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=Fishhealth%20API#/ProductionArea/get_v1_geodata_productionarea__productionAreaId___year___week_
Updated productionarea endpoint: https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=Fishhealth%20API#/ProductionArea/get_v1_geodata_productionarea
Waveforecast
Update fairway forecast endpoint https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=Waveforecast%20API#/Waveforecast/get_v2_geodata_waveforecast
Sustainability In Aquaculture:
We added 3 new endpoints for ILA free areas. There are no results for weeks before week 13, 2020.
List of ILA free areas for a specific week:
Details of a given Ila free area for the given week/year for a spesific version : /v1/geodata/fishhealth/ilafreearea/{year}/{week}/{areaId}/{version}
Details of a given Ila free area for the given week/year: / v1/geodata/fishhealth/ilafreearea/{year}/{week}/{areaId}