POST groups/create
グループを作成します。
基本情報
認証 | 必要 |
HTTPメソッド | POST |
リソースURL
https://www.co-meeting.com/api/v1/groups/create
パラメータ
network_id | ネットワークに紐づくアプリケーションの場合、必須 |
name | グループ名(必須) |
group_alias |
設定するとグループのURLに使用されます。 英数字とアンダーバー以外使用できません。一度設定すると変更できません。 |
description | グループの説明。グループの公開ページに表示されます。 |
privacy_status |
グループの公開状態。 0: 非公開(デフォルト) 1: ネットワーク内公開 2: ウェブ上に公開 |
require_approval |
公開グループへの参加にグループ管理者の承認が必要かどうか。 0または1を指定。デフォルトは1(必要)。 |
サンプルリクエスト
POST | https://www.co-meeting.com/api/v1/groups/create |
POST Data | group_alias=test-group&name=Test Group |
{
"status": "success",
"result": {
"id": "518217b94cfad12cb3000615",
"group_id": "639432519924924",
"group_alias": "test-group",
"name": "Test Group",
"icon_url": null,
"description": null,
"privacy_status": 0,
"require_approval": true,
"network_id": null,
"created_at": "2013-05-02 07:37:29 UTC",
"updated_at": "2013-05-02T07:37:29+00:00",
"url": "http://www.co-meeting.com/g/test-group",
"members": [
{
"id": "518217b94cfad12cb3000614",
"name": "Test User 74",
"screen_name": "test_user_74",
"icon_url": "http://www.co-meeting.com/images/mtg/unknown.jpg",
"last_accessed_at": null
}
]
}
}