Simple Questionオブジェクト

Simple翻訳依頼の情報を格納するオブジェクト

Parameters

依頼のオブジェクト

  • id
    Simple Questionを一意に示すユニークなID。数字
  • description
    翻訳に関する備考.Text
  • user_id
    Simple Questionを作成したユーザID。数字
  • organization_id
    依頼にひもづくグループID。数字
  • letter_count
    文字数。数字
  • published_scope
    公開範囲。数字
    • 0: 公開( ゲストユーザも参照可能)
    • 2: 非公開( 翻訳可能な翻訳者のみ参照可能)
  • status
    依頼の状態を示す数字。
    • 0: Pending。公開処理中。
    • 1: Listing 翻訳者募集中もしくは翻訳中
    • 4: Completed 全question_bodyが翻訳され依頼完了済み
    • 5: All Expired (この依頼のすべてのQuestionBodyに翻訳がつかなかった)
    • 8 Translated すべてののquestion_bodyに一つ以上翻訳がついた。ただまだ、Listiing
    • 9: Expired 一部のquestion_bodyが翻訳されませんでした。

    For Premium Request (It will be removed)

    • 2: 翻訳中(プレミアム依頼の場合)
    • 7: 誰も翻訳されなかった
  • status_text
    statusを表す文字列
  • total_point
    このオーダーで使用されたポイント。数字
  • created_at
    登録日時
  • updated_at
    最終更新日時
  • url
    依頼詳細取得APIのURL
  • html_url
    ユーザ画面上の詳細URL
  • language_id
    翻訳元言語のID。文字列
  • translated_language_id
    翻訳先言語のID。文字列
  • views_count
    表示回数
  • published_at
    公開日時
  • translated_at
    翻訳完了時間
  • expires_at
    翻訳期限。Datetime
  • translations_count
    投稿された翻訳数
  • working_translations_count
    作業中の翻訳者数
  • individual
    プラミアム依頼かどうか
    • true: プレミアム依頼
    • false: 普通の依頼

Optional

Example

{
  "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,
  "question_bodies": [
    {
      "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",
      "translations": [
        {
          "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
        },
        {
          "id": 1824432908,
          "question_id": 107,
          "question_body_id": 1029341678,
          "body": "hoge hoge hoge hoge hoge hoge hoge hoge hoge hoge ",
          "created_at": "2014-06-10T10:32:14.000+09:00",
          "updated_at": "2014-06-10T10:32:24.000+09:00",
          "user_id": 104,
          "trainee": false,
          "posted_at": "2014-06-10T10:32:17.000+09:00",
          "comments_count": 0
        }
      ]
    },
    {
      "id": 1029341679,
      "question_id": 107,
      "display_order": 2,
      "body": "hoge<a href='/'>{{{{hoge}}}</a>",
      "translated_at": "2014-06-10T10:32:23.000+09:00",
      "letter_count": 8,
      "translations_count": 2,
      "created_at": "2014-06-10T10:31:55.000+09:00",
      "updated_at": "2014-06-10T10:32:24.000+09:00",
      "translations": [
        {
          "id": 1824432907,
          "question_id": 107,
          "question_body_id": 1029341679,
          "body": "hoge <a href='/'> { {{{hoge}}} </a>hoge <a href='/'> { {{{hoge}}} </a>hoge <a href='/'> { {{{hoge}}} </a>hoge <a href='/'> { {{{hoge}}} </a>hoge <a href='/'> { {{{hoge}}} </a>hoge <a href='/'> { {{{hoge}}} </a>hoge <a href='/'> { {{{hoge}}} </a>hoge <a href='/'> { {{{hoge}}} </a>hoge <a href='/'> { {{{hoge}}} </a>hoge <a href='/'> { {{{hoge}}} </a>",
          "created_at": "2014-06-10T10:32:06.000+09:00",
          "updated_at": "2014-06-10T10:32:24.000+09:00",
          "user_id": 103,
          "trainee": false,
          "posted_at": "2014-06-10T10:32:09.000+09:00",
          "comments_count": 0
        },
        {
          "id": 1824432909,
          "question_id": 107,
          "question_body_id": 1029341679,
          "body": "hoge <a href='/'> { {{{hoge}}} </a>hoge <a href='/'> { {{{hoge}}} </a>hoge <a href='/'> { {{{hoge}}} </a>hoge <a href='/'> { {{{hoge}}} </a>hoge <a href='/'> { {{{hoge}}} </a>hoge <a href='/'> { {{{hoge}}} </a>hoge <a href='/'> { {{{hoge}}} </a>hoge <a href='/'> { {{{hoge}}} </a>hoge <a href='/'> { {{{hoge}}} </a>hoge <a href='/'> { {{{hoge}}} </a>",
          "created_at": "2014-06-10T10:32:19.000+09:00",
          "updated_at": "2014-06-10T10:32:24.000+09:00",
          "user_id": 104,
          "trainee": false,
          "posted_at": "2014-06-10T10:32:23.000+09:00",
          "comments_count": 0
        }
      ]
    }
  ],
  "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
  },
  "organization": {
    "id": 4,
    "name": "test10",
    "plan_id": 1,
    "user_id": 107,
    "default": 1,
    "description": null,
    "created_at": "2014-06-10T10:31:49.000+09:00",
    "updated_at": "2014-06-10T10:31:55.000+09:00",
    "url": "https://biz.conyac.cc/api/v1/organizations/4",
    "html_url": "https://conyac.cc/b/organizations/4",
    "point": 119450,
    "available_point": 119450
  },
  "language": {
    "id": "ja",
    "localized_name": "Japanese"
  },
  "translated_language": {
    "id": "en",
    "localized_name": "English"
  }
}