Get a single Entity by ID through API

i made the mistake to think i can get the data directly into the “where”, but it needs to be a parameter:

[
         {
           "command": "fibery.entity/query",
           "args": {
             "query": {
               "q/from": "CMS/Contact",
               "q/select": [
                 "fibery/id",
"CMS/Name"

               ],
               "q/where": ["=", ["fibery/id"], "$id"],
               "q/limit": 1
             },
             "params": { "$id": "****UUID*****" }
           }
         }
      ]
1 Like