This repository has been archived by the owner on May 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
how to create an entity for pytentd #90
Comments
I'm not sure if that was ever completed - I'll take a brief look. Development on Pytentd stopped a while ago due to the instability of the protocol documentation, so there are a lot of incomplete components. |
Pytentd doesn't have a way to create entities (I don't think the docs define an endpoint either). Sorry. |
This is a perfectly valid issue but there are no active developers on the project currently. I'll reopen this ticket in case someone wants to have a crack at solving the problem and merge back in. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi, I'm not sure whether here is the right place to ask such question, but I can't find a suitable place to ask such question. I'm running pytentd in a linux machine:
I think the next step I should do is create an entity, and then GET/POST to some urls like:
http://127.0.0.1:5000/entityname/profiles
But I don't find a way to create the entity. After review the source code, I found the entity is store in mongodb, by default, it will use the 'tentd' database and 'entity' collection. I can insert some data to the 'entity' collection outside the pytentd, but I don't find how to create an 'entity' document through pytentd, anyway, the document schema of 'entity' is defined by pytentd, so I think pytend should provide a method to create an 'entity', but I don't find such a way. Could anyone can tell me how to create an 'entity' or I misunderstand anything?
The text was updated successfully, but these errors were encountered: