Comments (依頼へのコメント)

コメントの一覧取得

GET /api/v1/simple/translations/:translation_id/comments

Response

$ curl -i -H "Accept: application/json" -H "Content-type: application/json" -X GET https://biz.conyac.cc/api/v1/simple/translations/1824432906/comments?access_token=48c8a5caa45b12f706f297626a589096b3f01287e73b17d1a6201063552b30c6 
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
  "success": true,
  "message": "The translation is found.",
  "translation": {
    "id": 1824432906,
    "question_id": 107,
    "question_body_id": 1029341678,
    "body": "hoge hoge hoge hoge hoge hoge hoge hoge hoge hoge ",
    "created_at": "2014-06-10T10:32:01.000+09:00",
    "updated_at": "2014-06-10T10:32:24.000+09:00",
    "user_id": 103,
    "trainee": false,
    "posted_at": "2014-06-10T10:32:03.000+09:00",
    "comments_count": 0,
    "user": {
      "id": 103,
      "login": "testf14023639060396569",
      "created_at": "2014-06-10T10:31:46.000+09:00",
      "updated_at": "2014-06-10T10:31:59.000+09:00",
      "locale": "en",
      "picture_url": "https://secure.gravatar.com/avatar/fcc52ba025f2f213479020731e4622b7.png?d=identicon&r=PG&s=48",
      "translator": true,
      "native_language": null,
      "last_accessed_at": "2014-06-10T10:32:10.000+09:00",
      "online_status": 1,
      "online_status_text": "Online",
      "grade_text": "Standard",
      "rate": 100
    }
  },
  "question": {
    "id": 107,
    "description": null,
    "user_id": 107,
    "parent_id": null,
    "type_id": 1,
    "published_scope": 2,
    "expires_at": "2014-06-11T10:32:55.000+09:00",
    "views_count": 4,
    "letter_count": 12,
    "language_id": "ja",
    "translated_language_id": "en",
    "status": 4,
    "status_text": "Completed",
    "published_at": "2014-06-10T10:32:55.000+09:00",
    "translated_at": "2014-06-10T10:32:23.000+09:00",
    "created_at": "2014-06-10T10:31:55.000+09:00",
    "updated_at": "2014-06-10T10:32:23.000+09:00",
    "tag_text": null,
    "draft_question_id": null,
    "first_body": "hoge",
    "native": false,
    "translations_count": 4,
    "working_translations_count": 0,
    "individual": false,
    "progress_rate": 100,
    "organization_id": 4,
    "escape_text": true,
    "text_format": 1,
    "custom_field": "test1",
    "cancelable": false,
    "listing?": false,
    "total_point": 800,
    "url": "https://biz.conyac.cc/api/v1/simple/questions/107",
    "html_url": "https://conyac.cc/questions/107",
    "user": {
      "id": 107,
      "login": "test10",
      "created_at": "2014-06-10T10:31:49.000+09:00",
      "updated_at": "2014-06-10T10:31:49.000+09:00",
      "locale": "en",
      "picture_url": "https://secure.gravatar.com/avatar/55502f40dc8b7c769880b10874abc9d0.png?d=identicon&r=PG&s=48",
      "translator": false
    },
    "language": {
      "id": "ja",
      "localized_name": "Japanese"
    },
    "translated_language": {
      "id": "en",
      "localized_name": "English"
    }
  },
  "question_body": {
    "id": 1029341678,
    "question_id": 107,
    "display_order": 1,
    "body": "hoge",
    "translated_at": "2014-06-10T10:32:17.000+09:00",
    "letter_count": 4,
    "translations_count": 2,
    "created_at": "2014-06-10T10:31:55.000+09:00",
    "updated_at": "2014-06-10T10:32:24.000+09:00"
  },
  "comments": {

  }
}

コメントの取得

GET /api/v1/simple/translations/:translation_id/comments/:id

Response

コメントの新規作成

POST/api/v1/simple/translations/:translation_id/comments/:id