exam questions

Exam AD0-E716 All Questions

View all questions & answers for the AD0-E716 exam

Exam AD0-E716 topic 1 question 67 discussion

Actual exam question from Adobe's AD0-E716
Question #: 67
Topic #: 1
[All AD0-E716 Questions]

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 @return annotation is missing in the MyVendor\Blog\Api\PostRepositoryInterface class.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
TravisNguyen
2 months, 3 weeks ago
B. Need to add <resource ref="anonymous"/> to make it display on swagger
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago