New Service v2 Endpoint

Hello Developers!

Today I am announcing the release of a new Service API

:sparkles: Service v2 :sparkles:

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 id parameter rather than service, you can also no longer query by slug

No Query

  • The field is_comprehensively_reviewed is now a boolean, this was a bug in v1
  • The field status has been removed completely
  • The field created_at and updated_at are no longer an array, its a string now and displays a postgres timestamp
  • The field links has been completely removed.
  • The field rating is no longer an array but rather a string containing the letter of the Grade or Null, the Prefix Grade has been removed
  • The field url has been removed completely

Query

  • The field is_comprehensively_reviewed is now a boolean, this was a bug in v1
  • The field status has been removed completely
  • The field created_at and updated_at are no longer an array, its a string now and displays a postgres timestamp
  • The field id is now cast as an Integer
  • The field text and xpath in documents has been completely removed
  • The field case has been added to points and contains a complete case object with the properties classification, description, title, id, topic_id and weight
  • The field case_id in points has been completely removed
  • The field rating has the Prefix Grade removed
  • The field url has been removed completely

If there are any questions or help with migration dont hesitate to ask in our discord or in Developers

2 Likes

This topic was automatically closed after 9 days. New replies are no longer allowed.