Closed LongLiveCHIEF closed 10 years ago
So you want to send me?
{
user: {
"$id": "000000000000000000000001"
}
title: "The tagline/title of the message",
message: "The message",
vote_options: <array of the vote options>,
vote_topic_id: "<topic id>"
};
I'm not reading this right. The api does accept title. And what about replies?
all i had to go by was the readme, I didn't want to assume (regarding titles.) as for replies... i haven't even looked at 'em, just wanted to make sure they didn't have that underscore vs no underscore thing (or object in one and non-object in another.).
And yes... that's exactly what I'd like to send you.
For example, a Post object returned looks like:
But to insert, I have to format it like:
need to change
user_id
:"string" to expect:.
message
is fine, but need to make sure the API also acceptstitle
. This review should be done for replies as well, since they would also be sent as object when doing insert operations.