-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update an old API version for 2024 to the latest one #154
base: main
Are you sure you want to change the base?
Conversation
Learn Build status updates of commit eb84ca6: ✅ Validation status: passedFor more details, please refer to the build report. For any questions, please:
|
@microsoft-github-policy-service agree |
@Be3751 : Thanks for your contribution! The author(s) have been notified to review your proposed change. |
Can you review the proposed changes? Important: When the changes are ready for publication, adding a #label:"aq-pr-triaged" |
This pull request has been inactive for at least 14 days. If you are finished with your changes, don't forget to sign off. See the contributor guide for instructions. |
I have updated an old API version for 2024 to the latest one. The old API version was deprecated, so if you use the old API version, you will get an error response from it.
Actually, when I read one of the documents I changed, I tried executing the following command, which is written in the document, but I got an error response(I'm not sure but the status code was 404 probably).
curl -i -X POST "%DI_ENDPOINT%documentintelligence/documentModels/prebuilt-layout:analyze?features=ocr.highResolution,ocr.formula,ocr.font?api-version=2024-02-29-preview" -H "Content-Type: application/json" -H "Ocp-Apim-Subscription-Key: %DI_KEY%" --data-ascii "{'urlSource': '<document-url>'}"