List of questions
Related questions
Question 46 - AD0-E716 discussion
An Adobe Commerce developer added a new API method to search and retrieve a list of Posts for a custom Blog functionality. This is the content of the module's etc/webapi.xml file:
The new code has been deployed to production and the merchant is using https: //merchant. domain. com/swagger to review the new endpoint, but it is not visible in swagger.
What would be a reason for this?
A.
The webapi.xml file should be moved into the etc/webapi_rest/webapi.xml file.
B.
Since the new endpoint is not anonymous, the merchant needs to enter a valid integration token in swagger in order to see the new method.
C.
The greturn annotation is missing in the MyVendor\Blog\Api\PostRepositoryInterf ace class.
Your answer:
0 comments
Sorted by
Leave a comment first