Get a reference to the chat thread.
Name | Type | Description |
---|---|---|
No parameters |
The forum and thread for this project's chat room.
Searches for forums matching criteria, or retrieves a specific project by its database ID.
Name | Type | Description |
---|---|---|
request | \mvcnphp\RequestParameters |
sort_field
and sort_dir
parameters to control the order in which
records are returned.page_size
and page_num
parameters to control the set of records
returned.Finds the most recent message withing a given forum by forum ID.
Name | Type | Description |
---|---|---|
request | \mvcnphp\RequestParameters |
Get count of messages in a thread which do not have parent messages.
Name | Type | Description |
---|---|---|
No parameters |
count of messages.
Create a new Forum
Name | Type | Description |
---|---|---|
section | string | Section of the forum. Required |
refId | int | Reference Id of the forum. Required |
forumName | string | Name of the forum. Required |
isPublic | bool | Whether or not the forum is public. Required |
The following curl command:
curl -d section=tracker -d refId=999 -d forumName=test -d isPublic=true --user username:password http://gforge.api/forum
Creates this forum:
{ section="tracker", refId=999, forumName="test", isPublic=true }
Create a new ForumThread
Name | Type | Description |
---|---|---|
request | \mvcnphp\RequestParameters |
curl -d section=tracker -d refId=999 -d forumName=test -d isPublic=true --user username:password http://gforge.api/forum/:forumId/thread/:id
Set user as offline in all charoom he is on
Name | Type | Description |
---|---|---|
request | \mvcnphp\RequestParameters |
Delete a forum
Name | Type | Description |
---|---|---|
id | int | Id of forum to be deleted. This field is set in the resource location (DELETE /api/forum/[id]) Required |
curl -X DELETE --user user:pass https://api.gforge.com/forum/1234
Delete a forum
Name | Type | Description |
---|---|---|
id | int | Id of forum to be deleted. This field is set in the resource location (DELETE /api/forum/[id]) Required |
curl -X DELETE --user user:pass https://api.gforge.com/forum/1234