OroPlatform Forums

Covering OroPlatform topics, including community updates and company announcements.

This topic contains 3 replies, has 2 voices, and was last updated by  SkaiBoa 9 months, 4 weeks ago.

  • Creator
    Topic
  • #37864

    SkaiBoa
    Participant

    Hi there,

    I created a new entity and want to get access over the REST-API.

    Here are my Annotations:

    Here are my api.yml:

    Here are my entity.yml

    I clear all caches (cache:clear, oro:api:cache:clear, oro:api:doc:cache:clear) but no success. The oro:api command shows my entites, but not in w.local/api/doc/rest_json_api.

    What I ‘m doing wrong? I use 3.1-RC and with 2.6 I got no problem to enable the API for my entites, but its some weeks ago that I enbale the last entity. Maybe I got miss something ?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • #37866

    SkaiBoa
    Participant

    After I started my computer and wanted to get away with my work, the API worked. A very strange behavior.
    Does anyone have any idea why this happened?

    #37874

    Hello.

    I guess you have used different environments – e.g. call all CLI cache clearing commands in dev mode, but have prod in browser.

    #37923

    SkaiBoa
    Participant

    Yes it seems so. Thanks for your answer.

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

You will be redirected to [title]. Would you like to continue?

Yes No