Knowledge Base: Data API: Dependencies
Dependencies
Please make sure you read the introduction to the data API first.
Attributes
id(Integer)user_id(Integer)dependee_id(Integer)minimum_version(String)comment(String)created_at(Datetime)updated_at(Datetime)
Virtual Attributes
tag_list(Gets and sets associated tags, comma-separated)
Request Root
http://freshmeat.net/projects/#{permalink}/dependencies
Show all dependencies of a project
GET /projects/#{permalink}/dependencies.json
Response:
[
{
"dependency": {
"minimum_version": "4.0",
"updated_at": "2009-05-07T14:04:50Z",
"id": 26042,
"dependee_id": 8673,
"tag_list": [
"Recommended"
],
"user_id": 472190,
"comment": "",
"created_at": "2009-05-07T14:04:50Z"
}
}
]
Create dependency
POST /projects/#{permalink}/dependencies.json
Request:
{
"auth_code": "XXX",
"dependency": {
"dependee_id": "5678",
"minimum_version": "1.1"
}
}
Response:
Status: 201 Created
Update dependency
PUT /projects/#{permalink}/dependencies/1.json
Request:
{
"auth_code": "XXX",
"dependency": {
"minimum_version": "1.2"
}
}
Response:
Status: 200 OK
Remove dependency
DELETE
/projects/#{permalink}/dependencies/1.json
Request:
{
"auth_code": "XXX"
}
Response:
Status: 200 OK-
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