Hello Developers!
Today I am announcing the release of a new Service API
Service v2 ![]()
https://developers.tosdr.org/dev/get-service-v2
As always with a new API Version there are breaking changes in comparison to v1, I’ll list them below:
General
- Service v2 now uses the
idparameter rather thanservice, you can also no longer query by slug
No Query
- The field
is_comprehensively_reviewedis now a boolean, this was a bug in v1 - The field
statushas been removed completely - The field
created_atandupdated_atare no longer an array, its a string now and displays a postgres timestamp - The field
linkshas been completely removed. - The field
ratingis no longer an array but rather a string containing the letter of the Grade or Null, the PrefixGradehas been removed - The field
urlhas been removed completely
Query
- The field
is_comprehensively_reviewedis now a boolean, this was a bug in v1 - The field
statushas been removed completely - The field
created_atandupdated_atare no longer an array, its a string now and displays a postgres timestamp - The field
idis now cast as an Integer - The field
textandxpathindocumentshas been completely removed - The field
casehas been added topointsand contains a complete case object with the propertiesclassification,description,title,id,topic_idandweight - The field
case_idinpointshas been completely removed - The field
ratinghas the PrefixGraderemoved - The field
urlhas been removed completely
If there are any questions or help with migration dont hesitate to ask in our discord or in Developers