Account

Account information

Resource URL

GET /api/v1/my

Example Response

{
  "success": true,
  "message": "the user information is successfully obtained.",
  "id": 107,
  "login": "test10",
  "created_at": "2014-06-10T10:32:38.000+09:00",
  "updated_at": "2014-06-10T10:32:38.000+09:00",
  "locale": "en",
  "picture_url": "https://secure.gravatar.com/avatar/55502f40dc8b7c769880b10874abc9d0.png?d=identicon&r=PG&s=48",
  "translator": false,
  "email": "test@example.com",
  "default_organization_id": 4,
  "default_organization": {
    "id": 4,
    "name": "test10",
    "plan_id": 1,
    "user_id": 107,
    "default": 1,
    "description": null,
    "created_at": "2014-06-10T10:32:38.000+09:00",
    "updated_at": "2014-06-10T10:32:39.000+09:00",
    "url": "https://biz.conyac.cc/api/v1/organizations/4",
    "html_url": "https://conyac.cc/b/organizations/4",
    "point": 100250,
    "available_point": 100250
  }
}

Listing the user’s organization(s)

Resource URL

GET /api/v1/my/organizations

Example Response

$ curl -i -H "Accept: application/json" -H "Content-type: application/json" -X GET https://biz.conyac.cc/api/v1/my/organizations?access_token=8c1525a501a5b10671b148003c65b1ed5c0598da5907f0a7855dc248faac8b76 
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
  "success": true,
  "message": "my organizations are found.",
  "page": 1,
  "per_page": 30,
  "total_pages": 1,
  "total_count": 2,
  "organizations": [
    {
      "id": 5,
      "name": "test group",
      "plan_id": 1,
      "user_id": 107,
      "default": 0,
      "description": "test decription",
      "created_at": "2014-06-10T10:32:48.000+09:00",
      "updated_at": "2014-06-10T10:32:48.000+09:00",
      "url": "https://biz.conyac.cc/api/v1/organizations/5",
      "html_url": "https://conyac.cc/b/organizations/5",
      "point": 0,
      "available_point": 0
    },
    {
      "id": 4,
      "name": "test10",
      "plan_id": 1,
      "user_id": 107,
      "default": 1,
      "description": null,
      "created_at": "2014-06-10T10:32:38.000+09:00",
      "updated_at": "2014-06-10T10:32:39.000+09:00",
      "url": "https://biz.conyac.cc/api/v1/organizations/4",
      "html_url": "https://conyac.cc/b/organizations/4",
      "point": 100250,
      "available_point": 100250
    }
  ]
}

Displaying a request

Resource URL

GET /api/v1/my/questions

Example Response

$ curl -i -H "Accept: application/json" -H "Content-type: application/json" -X GET https://biz.conyac.cc/api/v1/my/questions?access_token=8c1525a501a5b10671b148003c65b1ed5c0598da5907f0a7855dc248faac8b76 
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
  "success": true,
  "message": "my questions are found.",
  "page": 1,
  "per_page": 30,
  "total_pages": 1,
  "total_count": 6,
  "questions": [
    {
      "id": 6,
      "project_id": 3,
      "question_source_id": 7,
      "user_id": 107,
      "title": "body2<hoge>ddd</hoge>",
      "letter_count": 8,
      "language_id": "ja",
      "translated_language_id": "en",
      "status": 0,
      "status_text": "pending",
      "total_point": 32,
      "created_at": "2014-06-10T10:32:50.000+09:00",
      "updated_at": "2014-06-10T10:32:50.000+09:00",
      "custom_field": null,
      "description": "",
      "ended_at": null,
      "grab_expires_at": null,
      "translated_at": null,
      "individual": false,
      "double_check": false,
      "escape_text": false,
      "url": "https://biz.conyac.cc/api/v1/questions/6",
      "html_url": "https://conyac.cc/b/projects/3/questions/6",
      "cancelable": true,
      "organization_id": 4,
      "file_type": "html_text",
      "organization": {
        "id": 4,
        "name": "test10",
        "plan_id": 1,
        "user_id": 107,
        "default": 1,
        "description": null,
        "created_at": "2014-06-10T10:32:38.000+09:00",
        "updated_at": "2014-06-10T10:32:50.000+09:00",
        "url": "https://biz.conyac.cc/api/v1/organizations/4",
        "html_url": "https://conyac.cc/b/organizations/4",
        "point": 78986,
        "available_point": 78986
      },
      "language": {
        "id": "ja",
        "localized_name": "Japanese"
      },
      "translated_language": {
        "id": "en",
        "localized_name": "English"
      }
    },
    {
      "id": 5,
      "project_id": 3,
      "question_source_id": 1,
      "user_id": 107,
      "title": "Test Request",
      "letter_count": 1764,
      "language_id": "ja",
      "translated_language_id": "en",
      "status": 0,
      "status_text": "pending",
      "total_point": 7056,
      "created_at": "2014-06-10T10:32:50.000+09:00",
      "updated_at": "2014-06-10T10:32:50.000+09:00",
      "custom_field": "test1",
      "description": "intoroduction etc..",
      "ended_at": null,
      "grab_expires_at": null,
      "translated_at": null,
      "individual": false,
      "double_check": false,
      "escape_text": false,
      "url": "https://biz.conyac.cc/api/v1/questions/5",
      "html_url": "https://conyac.cc/b/projects/3/questions/5",
      "cancelable": true,
      "organization_id": 4,
      "file_type": "pptx",
      "organization": {
        "id": 4,
        "name": "test10",
        "plan_id": 1,
        "user_id": 107,
        "default": 1,
        "description": null,
        "created_at": "2014-06-10T10:32:38.000+09:00",
        "updated_at": "2014-06-10T10:32:50.000+09:00",
        "url": "https://biz.conyac.cc/api/v1/organizations/4",
        "html_url": "https://conyac.cc/b/organizations/4",
        "point": 78986,
        "available_point": 78986
      },
      "language": {
        "id": "ja",
        "localized_name": "Japanese"
      },
      "translated_language": {
        "id": "en",
        "localized_name": "English"
      }
    },
    {
      "id": 4,
      "project_id": 2,
      "question_source_id": 5,
      "user_id": 107,
      "title": "body1<hoge>ddd</hoge>",
      "letter_count": 8,
      "language_id": "ja",
      "translated_language_id": "en",
      "status": 0,
      "status_text": "pending",
      "total_point": 32,
      "created_at": "2014-06-10T10:32:49.000+09:00",
      "updated_at": "2014-06-10T10:32:49.000+09:00",
      "custom_field": null,
      "description": "",
      "ended_at": null,
      "grab_expires_at": null,
      "translated_at": null,
      "individual": false,
      "double_check": false,
      "escape_text": false,
      "url": "https://biz.conyac.cc/api/v1/questions/4",
      "html_url": "https://conyac.cc/b/projects/2/questions/4",
      "cancelable": true,
      "organization_id": 4,
      "file_type": "html_text",
      "organization": {
        "id": 4,
        "name": "test10",
        "plan_id": 1,
        "user_id": 107,
        "default": 1,
        "description": null,
        "created_at": "2014-06-10T10:32:38.000+09:00",
        "updated_at": "2014-06-10T10:32:50.000+09:00",
        "url": "https://biz.conyac.cc/api/v1/organizations/4",
        "html_url": "https://conyac.cc/b/organizations/4",
        "point": 78986,
        "available_point": 78986
      },
      "language": {
        "id": "ja",
        "localized_name": "Japanese"
      },
      "translated_language": {
        "id": "en",
        "localized_name": "English"
      }
    },
    {
      "id": 3,
      "project_id": 2,
      "question_source_id": 1,
      "user_id": 107,
      "title": "Test Request",
      "letter_count": 1764,
      "language_id": "ja",
      "translated_language_id": "en",
      "status": 0,
      "status_text": "pending",
      "total_point": 7056,
      "created_at": "2014-06-10T10:32:49.000+09:00",
      "updated_at": "2014-06-10T10:32:49.000+09:00",
      "custom_field": "test1",
      "description": "intoroduction etc..",
      "ended_at": null,
      "grab_expires_at": null,
      "translated_at": null,
      "individual": false,
      "double_check": false,
      "escape_text": false,
      "url": "https://biz.conyac.cc/api/v1/questions/3",
      "html_url": "https://conyac.cc/b/projects/2/questions/3",
      "cancelable": true,
      "organization_id": 4,
      "file_type": "pptx",
      "organization": {
        "id": 4,
        "name": "test10",
        "plan_id": 1,
        "user_id": 107,
        "default": 1,
        "description": null,
        "created_at": "2014-06-10T10:32:38.000+09:00",
        "updated_at": "2014-06-10T10:32:50.000+09:00",
        "url": "https://biz.conyac.cc/api/v1/organizations/4",
        "html_url": "https://conyac.cc/b/organizations/4",
        "point": 78986,
        "available_point": 78986
      },
      "language": {
        "id": "ja",
        "localized_name": "Japanese"
      },
      "translated_language": {
        "id": "en",
        "localized_name": "English"
      }
    },
    {
      "id": 2,
      "project_id": 1,
      "question_source_id": 3,
      "user_id": 107,
      "title": "body0<hoge>ddd</hoge>",
      "letter_count": 8,
      "language_id": "ja",
      "translated_language_id": "en",
      "status": 0,
      "status_text": "pending",
      "total_point": 32,
      "created_at": "2014-06-10T10:32:49.000+09:00",
      "updated_at": "2014-06-10T10:32:49.000+09:00",
      "custom_field": null,
      "description": "",
      "ended_at": null,
      "grab_expires_at": null,
      "translated_at": null,
      "individual": false,
      "double_check": false,
      "escape_text": false,
      "url": "https://biz.conyac.cc/api/v1/questions/2",
      "html_url": "https://conyac.cc/b/projects/1/questions/2",
      "cancelable": true,
      "organization_id": 4,
      "file_type": "html_text",
      "organization": {
        "id": 4,
        "name": "test10",
        "plan_id": 1,
        "user_id": 107,
        "default": 1,
        "description": null,
        "created_at": "2014-06-10T10:32:38.000+09:00",
        "updated_at": "2014-06-10T10:32:50.000+09:00",
        "url": "https://biz.conyac.cc/api/v1/organizations/4",
        "html_url": "https://conyac.cc/b/organizations/4",
        "point": 78986,
        "available_point": 78986
      },
      "language": {
        "id": "ja",
        "localized_name": "Japanese"
      },
      "translated_language": {
        "id": "en",
        "localized_name": "English"
      }
    },
    {
      "id": 1,
      "project_id": 1,
      "question_source_id": 1,
      "user_id": 107,
      "title": "Test Request",
      "letter_count": 1764,
      "language_id": "ja",
      "translated_language_id": "en",
      "status": 0,
      "status_text": "pending",
      "total_point": 7056,
      "created_at": "2014-06-10T10:32:49.000+09:00",
      "updated_at": "2014-06-10T10:32:49.000+09:00",
      "custom_field": "test1",
      "description": "intoroduction etc..",
      "ended_at": null,
      "grab_expires_at": null,
      "translated_at": null,
      "individual": false,
      "double_check": false,
      "escape_text": false,
      "url": "https://biz.conyac.cc/api/v1/questions/1",
      "html_url": "https://conyac.cc/b/projects/1/questions/1",
      "cancelable": true,
      "organization_id": 4,
      "file_type": "pptx",
      "organization": {
        "id": 4,
        "name": "test10",
        "plan_id": 1,
        "user_id": 107,
        "default": 1,
        "description": null,
        "created_at": "2014-06-10T10:32:38.000+09:00",
        "updated_at": "2014-06-10T10:32:50.000+09:00",
        "url": "https://biz.conyac.cc/api/v1/organizations/4",
        "html_url": "https://conyac.cc/b/organizations/4",
        "point": 78986,
        "available_point": 78986
      },
      "language": {
        "id": "ja",
        "localized_name": "Japanese"
      },
      "translated_language": {
        "id": "en",
        "localized_name": "English"
      }
    }
  ]
}