Added Fishhealth endpoints:
- https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=Fishhealth%20API#/Download/get_v1_geodata_download_ilaprotectionzone
- https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=Fishhealth%20API#/Download/get_v1_geodata_download_ilasurveillancezone
- https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=Fishhealth%20API#/Download/get_v1_geodata_download_pdzone_borders
- https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=Fishhealth%20API#/Download/get_v1_geodata_download_pdprotectionzone
- https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=Fishhealth%20API#/Download/get_v1_geodata_download_pdsurveillancezone
Modified Fishhealth endpoints:
- Vesseltracks analysis now have passages through disease zones, in addition to aquaculture site visits:
Removed property regionId from the response of this endpoint: https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=Fishhealth%20API#/FishhealthLocality/get_v1_geodata_fishhealth_locality__localityId___year___week_.
Added Fishhealth endpoints:
We have updated the documentation for application registration and authentication. It is now possible to log in with your own client_id to the OpenAPI documentation. Read more here: Application registration and authentication.
Updated endpoints:
- Added new property 'isSlaughterHoldingCage' to these endpoints:
- https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=Fishhealth%20API#/ExportRestrictions/get_v1_geodata_fishhealth_exportrestrictions__year___week_
- https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=Fishhealth%20API#/FishhealthLocality/get_v1_geodata_fishhealth_locality__year___week_
- https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=Fishhealth%20API#/FishhealthLocality/get_v1_geodata_fishhealth_locality__localityId___year___week_
- Added municipality info to this endpoint:
- Changed when downloading Fishhealth Excel/CSV:
- 'Brakklagt' column is now called 'Trolig uten fisk'
The WellBoatWeek APIs have been replaced by a VesselTrackWeek API, as announce here: Updates to our APIs (2020-02-04)
These WellBoatWeek API endpoints will be removed after 4 May 2021:
- https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=Fishhealth%20API#/WellBoatWeek/get_v1_geodata_ais_wellboat__mmsi___year___week_
- https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=Fishhealth%20API#/WellBoatWeek/get_v1_geodata_fishhealth_locality__localityno__wellboat__year___week_
- https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=Fishhealth%20API#/WellBoatWeek/get_v1_geodata_ais_rawwellboatpoints__mmsi___year___week_
- https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=Fishhealth%20API#/WellBoatWeek/get_v1_geodata_ais_rawwellboatline__mmsi___year___week_
- https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=Fishhealth%20API#/WellBoatWeek/get_v1_shipregister_wellboats
- https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=Fishhealth%20API#/WellBoatWeek/get_v1_wellboat_latestpositions
New Fishhealth APIs
VesselTrackWeek apis replace the WellBoatWeek apis. VesselTrackWeek tracks all wellboats as before, but also other vessels that have been at an aquaculture site.
Endpoints:
- https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=Fishhealth%20API#/VesselTrackWeek/get_v1_geodata_fishhealth_vesseltrack__mmsi___year___week_
- https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=Fishhealth%20API#/VesselTrackWeek/get_v1_geodata_fishhealth_locality__localityno__vessel__year___week_
- https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=Fishhealth%20API#/VesselTrackWeek/get_v1_geodata_fishhealth_vesselslatestpositions
- https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=Fishhealth%20API#/VesselTrackWeek/get_v1_geodata_fishhealth_vessels
The WellBoatWeek API is marked as obsolete, and will be removed after 4. May 2021.
New Waveforecast APIs
Get wind forecast along a fairway:
- Along a predefined fairway: https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=Waveforecast%20API#/FairwayWeather/get_v1_geodata_fairway_wind__modelName___fairwayId___time_
- Along a custom fairway: https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=Waveforecast%20API#/FairwayWeather/post_v1_geodata_fairway_custom_wind
Due to a new data source for ISA and PD diseases these changes have been made today:
- Updated https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=Fishhealth%20API#/FishhealthLocality/get_v1_geodata_fishhealth_locality__localityId___year___week_
- new property "ilaPdCase" which will have data from week 45, 2020 from the new dataset (instead of the "ilapd" property)
- New endpoint https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=Fishhealth%20API#/FishhealthLocality/get_v2_geodata_fishhealth_locality__localityNo__disease__year_
- Download (excel/csv):
- added new columns for disease
- fromdate/todate will be empty from week 45, 2020 (dates will be in the new columns.
To access the BarentsWatch API it is mandatory to register and use a token, as documented here: Application registration and authentication.
Today this policy is enforced, and unauthenticated requests will recieve a 401 HTTP status code. If you get this error, you need to self-register a client, and pass an access token with your requests.
Due to a new data source for ISA and PD diseases, there will be changes in this endpoint:
/v1/geodata/fishhealth/locality/{localityId:int}/{year:int}/{week:int}
The "ilaPd" property will be null for all localities from week 45, 2020. The new property "ilaPdCase" will have the information about diseases.
This endpoint has a new data model:
"ilaPdCase": [ { "id": "PD2020-67", "localityNo": 20815, "disease": "PD", "subtype": "SAV3", "disproved": false, "suspectedDate": "2020-05-05T02:00:00+02:00", "confirmedDate": null, "emptiedDate": null, "closedDate": null, "disprovedDate": null, "createdDate": null, "changedDate": "2020-05-05T02:00:00+02:00" } ],
The change of the API will take effect 7th January 2021. The API documentation will also be updated this date. If you need documentation earlier, please contact us.
New endpoint in Sustainability in Aquaculure: https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=Sustainability%20In%20Aquaculture%20API#/Datasets/get_v1_geodata_bki_dataset_seafoodsafety
Updated Waveforecast endpoint: https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=Waveforecast%20API#/Waveforecast/get_v1_geodata_waveforecast_modelrundatetime
- New AIS endpoint:
- Sustainability in aquaculture:
- Removed endpoint:
/v1/geodata/bki/dataset/salmontroutescapes/{year}/{month}
- Added endpoints:
- .https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=Sustainability%20In%20Aquaculture%20API#/Datasets/get_v1_geodata_bki_dataset_salmontroutescapes__fromyear___frommonth___toyear___tomonth_
- https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=Sustainability%20In%20Aquaculture%20API#/Datasets/get_v1_geodata_bki_dataset_salmontroutescapestatistics
- Removed endpoint:
- 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.
- https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=Waveforecast%20API#/Langesund/get_v1_geodata_langesund_currentpoints
- https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=Waveforecast%20API#/Langesund/get_v1_geodata_langesund_point__name_
- https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=Waveforecast%20API#/Langesund/get_v1_geodata_langesund_opposingsea
- https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=Waveforecast%20API#/Langesund/get_v1_geodata_langesund_river
- https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=Waveforecast%20API#/Langesund/get_v1_geodata_langesund_river__modelName_
As previously announced, the old apis at /api have been removed today. Use /bwapi as described here: The old API will be removed 1st October 2020. The exception is chart plotter APIs, which are still open.
The ports API is also removed, as announced here: The Ports API will be removed 1st October 2020.
New endpoints Fishhealth:
- V2 version of these endpoints with epsg:4326 coodinate system.
- https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=Fishhealth%20API#/IlaControlArea/get_v2_geodata_fishhealth_ilaprotectionzone__year___week_
- https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=Fishhealth%20API#/IlaControlArea/get_v2_geodata_fishhealth_ilasurveillancezone__year___week_
- https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=Fishhealth%20API#/PdControlArea/get_v2_geodata_fishhealth_pdprotectionzone__year___week_
- https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=Fishhealth%20API#/PdControlArea/get_v2_geodata_fishhealth_pdsurveillancezone__year___week_
- 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:
- https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=AIS%20API#/AIS/get_v2_geodata_ais_openpositions
- https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=AIS%20API#/AIS/get_v1_geodata_ais_openship__mmsi_
- https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=AIS%20API#/AIS/get_v2_geodata_ais_compactopenpositions
- Corresponding V1-endpoints are deprecated, and will be removed after 1. january 2021.