Differences in JSON string of derivatives - V2 vs V1
Categories
- 362 All Categories
- 2 Member guidelines
- 63 Ask the Community: Technical and operational questions
- 68 General
- 10 Ask the Community: Other
- 60 Report a bug
- 12 Suggest an improvement
- 7 How to get useful technical help
- 92 Frequently asked questions
- 6 Tutorials and presentations
- 26 API endpoints
- 9 News and updates
- 3 Language datasets
- 18 Review my code
[Action required] API changes announcement for existing customers
Note: This announcement applies to API customers that are registered to a Prototype and Developer plans.
Hello all!
We are writing to inform you that a new set of plans is replacing our current application plans (Prototype and Developer plans) and prices.
As of 10th May 2022, the Prototype and Developer plans will no longer be operational. Oxford Dictionaries API will offer two new plans:
- Introductory plan
- Unlimited plan
For Prototype and Developer plan customers, changes are happening between 12th April 2022 and 10th May 2022. So do not worry! You will have time to check the options and choose how you wish to proceed using our data by selecting the Introductory or Unlimited plan.
For further instructions on how to change plans, and for more information, please visit our new plans announcement page.
Link: https://developer.oxforddictionaries.com/new-plans-announcement
If you have any questions, please feel free to leave us a comment or reach us at our Contact Us page. (https://developer.oxforddictionaries.com/contact-us)
The Oxford dictionaries API team
Note: This announcement applies to API customers that are registered to a Prototype and Developer plans.
Hello all!
We are writing to inform you that a new set of plans is replacing our current application plans (Prototype and Developer plans) and prices.
As of 10th May 2022, the Prototype and Developer plans will no longer be operational. Oxford Dictionaries API will offer two new plans:
- Introductory plan
- Unlimited plan
For Prototype and Developer plan customers, changes are happening between 12th April 2022 and 10th May 2022. So do not worry! You will have time to check the options and choose how you wish to proceed using our data by selecting the Introductory or Unlimited plan.
For further instructions on how to change plans, and for more information, please visit our new plans announcement page.
Link: https://developer.oxforddictionaries.com/new-plans-announcement
If you have any questions, please feel free to leave us a comment or reach us at our Contact Us page. (https://developer.oxforddictionaries.com/contact-us)
The Oxford dictionaries API team
Differences in JSON string of derivatives - V2 vs V1
Hi @AmosDuveen
There are many differences in JSON schema in V2 as compared to V1. I'm currently trying to figure out which one make sense to me and which ones don't. The ones that don't make sense would be reported here.
For now, I'm pasting below the JSON string of 'flushness' (a derivative of 'flush') both from v1 and v2:
JSON V1
{ "metadata": { "provider": "Oxford University Press" }, "results": [ { "id": "flushness", "language": "en", "lexicalEntries": [ { "derivativeOf": [ { "id": "flush", "text": "flush" } ], "entries": [ { "grammaticalFeatures": [ { "text": "Singular", "type": "Number" } ], "homographNumber": "000" } ], "language": "en", "lexicalCategory": "Noun", "text": "flushness" } ], "type": "headword", "word": "flushness" } ] }
JSON V2
{ "id": "flushness", "metadata": { "operation": "retrieve", "provider": "Oxford University Press", "schema": "RetrieveEntry" }, "results": [ { "id": "flushness", "language": "en-gb", "lexicalEntries": [ { "derivativeOf": [ { "id": "flush", "text": "flush" } ], "entries": [ { "senses": [ { "id": "m_en_gbus0374920.032" } ] } ], "language": "en-gb", "lexicalCategory": { "id": "noun", "text": "Noun" }, "text": "flushness" } ], "type": "headword", "word": "flushness" } ], "word": "flushness" }
While removal of homographNumber makes sense, I can't figure out why grammaticalFeatures are removed and why a sense with only senseId has been included.
Would be grateful if u could take some time for looking into it and providing a reason.
Thanks
Comments
Hi @shahood,
Thanks for feeding back all of these issues, I have passed them onto our developers to investigate.
Hi @shahood,
Can you please reply with the request URLs you used to produce these outputs. I've got a reply from our tech team but I'm not yet sure whether to be happy with it or whether to push back so I'd like to do a bit more digging myself...
Hi @AmosDuveen
Please find below the request URLs:
V1 - https://od-api.oxforddictionaries.com:443/api/v1/entries/en/flushness/regions=gb
V2 - https://od-api.oxforddictionaries.com:443/api/v2/entries/en-gb/flushness?strictMatch=false
Thanks for the follow up.
PS: If you deem appropriate, please also share the response from the dev team.