Blog

Blog

New endpoints

Fishhealth API

https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=Fishhealth%20API#/Download/get_v1_geodata_download_anonymousilafreearea
https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=Fishhealth%20API#/Download/get_v1_geodata_download_anonymousilaprotectionzone
https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=Fishhealth%20API#/Download/get_v1_geodata_download_anonymousilasurveillancezone
https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=Fishhealth%20API#/Download/get_v1_geodata_download_anonymouslocalitieswithila
https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=Fishhealth%20API#/Download/get_v1_geodata_download_anonymouslocalitieswithpd
https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=Fishhealth%20API#/Download/get_v1_geodata_download_anonymouslocalityarea
https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=Fishhealth%20API#/Download/get_v1_geodata_download_anonymouspdzone_borders
https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=Fishhealth%20API#/Download/get_v1_geodata_download_anonymouspdprotectionzone
https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=Fishhealth%20API#/Download/get_v1_geodata_download_anonymouspdsurveillancezone
https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=Fishhealth%20API#/Download/get_v1_geodata_download_localitieswithpd
https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=Fishhealth%20API#/Download/get_v1_geodata_download_localitieswithila

Waveforecast API

https://www.barentswatch.no/bwapi/openapi/index.html?urls.primaryName=Waveforecast%20API#/CustomRoute/get_v2_geodata_waveforecast_route_customroutearea

WMS/WFS

bw:localitieswithila - This layer has aquaculture sites with ongoing ISA disease outbreaks. The data is from Veterinærinstituttet.

bw:localitieswithpd - This layer has aquaculture sites with ongoing PD disease outbreaks. The data is from Veterinærinstituttet.

https://geoserver.barentswatch.no/geoserver/ows?service=wms&version=1.3.0&request=GetCapabilities

https://geoserver.barentswatch.no/geoserver/ows?service=wfs&version=1.1.0&request=GetCapabilities

Removed endpoints

Fishhealth API

Removal of wesseltrack endpoints as notified here: Fishhealth WellBoatWeek APIs will be removed 4 May 2021

Localitieswithdisease is replaced by localitieswithpd and localitieswithila.

/bwapi/v1/geodata/download/localitieswithdisease (Replaced by )
/bwapi/v1/geodata/ais/wellboat/{mmsi}/{year}/{week}
/bwapi/v1/geodata/fishhealth/locality/{localityno}/wellboat/{year}/{week} 
/bwapi/v1/geodata/ais/rawwellboatpoints/{mmsi}/{year}/{week} 
/bwapi/v1/geodata/ais/rawwellboatline/{mmsi}/{year}/{week} 
/bwapi/v1/shipregister/wellboats 
/bwapi/v1/wellboat/latestpositions 

WMS/WFS

Remvoed layer bw:localitywithdisease.


Due to a new data source for ISA and PD diseases these changes have been made today:

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 endpoints Fishhealth:


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: