2016-04-14 6 views
0

以下のjsonレスポンスでは、createdDateとupdatedDateの日付形式は何ですか?私は逆の方法でAPIの日付形式を見つけるためにどのように動作するか分からない。私はこれを文書のどこにも見つけることができませんでした。stash apiの日付形式は何ですか?

{ 
"size": 1, 
"limit": 25, 
"isLastPage": true, 
"values": [ 
    { 
     "id": 101, 
     "version": 1, 
     "title": "Talking Nerdy", 
     "description": "It’s a kludge, but put the tuple from the database in the cache.", 
     "state": "OPEN", 
     "open": true, 
     "closed": false, 
     "createdDate": 1359075920, 
     "updatedDate": 1359085920, 
     "fromRef": { 
      "id": "refs/heads/feature-ABC-123", 
      "repository": { 
       "slug": "my-repo", 
       "name": null, 
       "project": { 
        "key": "PRJ" 
       } 
      } 
     }, 
     "toRef": { 
      "id": "refs/heads/master", 
      "repository": { 
       "slug": "my-repo", 
       "name": null, 
       "project": { 
        "key": "PRJ" 
       } 
      } 
     }, 
     "locked": false, 
     "author": { 
      "user": { 
       "name": "tom", 
       "emailAddress": "[email protected]", 
       "id": 115026, 
       "displayName": "Tom", 
       "active": true, 
       "slug": "tom", 
       "type": "NORMAL" 
      }, 
      "role": "AUTHOR", 
      "approved": true 
     }, 
     "reviewers": [ 
      { 
       "user": { 
        "name": "jcitizen", 
        "emailAddress": "[email protected]", 
        "id": 101, 
        "displayName": "Jane Citizen", 
        "active": true, 
        "slug": "jcitizen", 
        "type": "NORMAL" 
       }, 
       "role": "REVIEWER", 
       "approved": true 
      } 
     ], 
     "participants": [ 
      { 
       "user": { 
        "name": "dick", 
        "emailAddress": "[email protected]", 
        "id": 3083181, 
        "displayName": "Dick", 
        "active": true, 
        "slug": "dick", 
        "type": "NORMAL" 
       }, 
       "role": "PARTICIPANT", 
       "approved": false 
      }, 
      { 
       "user": { 
        "name": "harry", 
        "emailAddress": "[email protected]", 
        "id": 99049120, 
        "displayName": "Harry", 
        "active": true, 
        "slug": "harry", 
        "type": "NORMAL" 
       }, 
       "role": "PARTICIPANT", 
       "approved": true 
      } 
     ], 
     "link": { 
      "url": "http://link/to/pullrequest", 
      "rel": "self" 
     }, 
     "links": { 
      "self": [ 
       { 
        "href": "http://link/to/pullrequest" 
       } 
      ] 
     } 
    } 
], 
"start": 0 

}

答えて