ios9 HTTPS

The Xcode Server API Reference is the underlying interface for Xcode Server.

NOTE

For detailed information about installing and using Xcode Server, see Xcode Server and Continuous Integration Guide.

HTTPS Only

Use HTTPS to make all Xcode Server requests.

UTF-8 Encoding

Every string passed to and from the Xcode Server API needs to be UTF-8 encoded.

Error Handling

Errors are returned using standard HTTP error code syntax. Any additional info is included in the body of the response, JSON-formatted:

  1. {
  2. "status": 401,
  3. "message": "Unauthorized: invalid credentials"
  4. }

List of supported error codes:

  1. 400: Bad Request
  2. 401: Unauthorized
  3. 403: Forbidden
  4. 404: Not Found
  5. 409: Conflict
  6. 410: Gone
  7. 500: Internal Server Error
  8. 501: Not Implemented
  9. 502: Bad Gateway
  10. 503: Service Unavailable
  11. 523: Service is not Enabled
  12. 530: Client unsupported.
  13. 531: ACL expansion not yet completed.
  14. 532: Service maintenance task active

Versioning

The version is set in the header using X-XCSAPIVersion. If you omit this property, Xcode Server assumes the latest version.

Request Headers

All Xcode Server responses contain the version number of the API that the server supports. The version number is set in the response header using X-XCSAPIVersion.

Schema

The section contains detailed information about the contents and meaning of the various payload structures used in Xcode Server requests and responses.

Document ID and Revision

Xcode Server stores the data in documents. Each document in CouchDB has at least two properties: _id and_rev.

  • _id is a unique identifier that makes the document unique.

  • _rev is a value that changes every time the document is modified.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值