(SUNBIRD-SAAS) Content APIs version #430
Replies: 3 comments
-
All API mapping to respective services can be found in https://github.com/project-sunbird/sunbird-devops/blob/release-5.2.0/ansible/roles/kong-api/defaults/main.yml |
Beta Was this translation helpful? Give feedback.
-
"Error! Missing One or More Required Fields in Object. | [Either 'body' or 'artifactUrl' are required for processing of ECML content!" is a valid error message. This means that there is no "content" source file for the content you are trying to review. Please check if 'body' or 'artifactUrl' property exists when you read the content. |
Beta Was this translation helpful? Give feedback.
-
@chaitanyakole Please refer the below postman collection for Sunbird Knowlg BB API's sample: |
Beta Was this translation helpful? Give feedback.
-
I tried to create a content through postman using this Content API and was able to create successfully.
Checked the content created through postman on portal and there able to see the content, but when I'm trying to send the content to review through postman, this API is giving me the following error:
"Error! Missing One or More Required Fields in Object. | [Either 'body' or 'artifactUrl' are required for processing of ECML content!"
I tried to follow this http://docs.sunbird.org/latest/apis/content/index.html#operation/Submit%20Content%20for%20Review and still facing the error.
I tried to create a content on portal and was able to send it for review successfully, but noticed one thing, i.e, on portal v3 version is being used and in the document on v1 version API's are available for send for review. And if I try to use v3 version API through postman, then it's giving me error:
"no route and no API found with those values"
To: @vinukumar-vs @rajeevsathish @rajeshkumaravel
CC: @@nidhikachhawa24 @baljeetsingh
Beta Was this translation helpful? Give feedback.
All reactions