Knowledge Base: Data API: Comments
Comments
Please make sure you read the introduction to the data API first.
Attributes
id(Integer, read-only)user_id(User ID of comment author)body(Text)created_at(Datetime, read-only)
If release_id is submitted the version number of
that release is displayed next to the comment.
Request Root
http://freshmeat.net/projects/#{permalink}/comments
List comments
GET /projects/#{permalink}/comments.json
Response:
[
{
"comment": {
"id": 123456,
"user_id": 789012,
"created_at": "2008-07-06T15:38:56Z",
"title": "Comment Title",
"body": "Comment Body"
}
}
]
Add comment
POST /projects/#{permalink}/comments.json
Request:
{
"auth_code": "XXX",
"comment": {
"body": "Exciting Project!"
}
}
Response:
Status: 201 Created-
Projects
-
Subscriptions
-
Licensing
-
Releases
-
Articles
-
Statistics
-
Sections
-
API
-
News
-
Miscellaneous
-
Offtopic
- Could you answer my question about or otherwise help me with this software or hardware?
- Could you help me to find an application for doing this or that?
- I'm new to Linux. How do I get started with it? What distribution should I use?
- Where can I get the freshmeat source code?
- Would you be interested in a link exchange with my site?
- View all