Documentation Archive

Developer

Xcode Server API Reference

Assets

Each integration on your server generates a number of files, known as assets. Assets include log files, Xcode archives and installable products like IPA or PKG files.

Downloading an Asset

GET

/assets/{path}

Retrieves an asset given its relative path.

See the section Retrieving Files for an Integration for more information.

Example

https://server.mycompany.com:20343/api/assets/bb5b5dfa1c4abff347d28bed7e00b381-Sketch/1/sourceControl.log

Parameters

path (required)

  • The relative path of the asset.

  • Type: string

  • Example: bb5b5dfa1c4abff347d28bed7e00b381-Sketch/1/sourceControl.log

Response: 200

Body

  1. 2015-08-03 10:26:53.984 XCSCheckoutIntegrationStep.m:72 [XCSCheckoutIntegrationStep enqueueOperations]
  2. [SourceControl] Will attempt to update checkout cache for bot
  3. 2015-08-03 10:26:53.984 XCSCheckoutIntegrationStep.m:233 [XCSCheckoutIntegrationStep validateBlueprint]
  4. [SourceControl, Info] Xcode Source Control Blueprint was valid.
  5. 2015-08-03 10:26:54.050 XCSCheckoutIntegrationStep.m:86 [XCSCheckoutIntegrationStep enqueueOperations]
  6. [SourceControl] About to update/checkout:
  7. https://jappleseed@server.mycompany.com.com/jappleseed/sketch.git Branch: master into Sketch/
  8. 2015-08-03 10:26:55.177 XCSCheckoutIntegrationStep.m:318 [XCSCheckoutIntegrationStep checkoutWorkingCopies]
  9. [SourceControl, Info] Counting objects: 1737, done.
  10. 2015-08-03 10:26:55.277 XCSCheckoutIntegrationStep.m:320 [XCSCheckoutIntegrationStep checkoutWorkingCopies]
  11. [SourceControl, Info] 90.00% Receiving objects: 806 KB done
  12. 2015-08-03 10:26:55.442 XCSCheckoutIntegrationStep.m:368 [XCSCheckoutIntegrationStep saveVersionedBlueprintToIntegration]
  13. [SourceControl] Completed checkout of:
  14. https://jappleseed@server.mycompany.com.com/jappleseed/sketch.git Branch: master (@3982fd5a6dd349c3673c9f91a96baf69eedc44a1) into Sketch/
  15. 2015-08-03 10:26:55.658 XCSCheckoutIntegrationStep.m:450 [XCSCheckoutIntegrationStep saveCommitHistory]
  16. [SourceControl] This is the first integration, so we'll just load the last 5 commits.
  17. 2015-08-03 10:26:55.695 XCSCheckoutIntegrationStep.m:429 [XCSCheckoutIntegrationStep saveCommitHistory]
  18. [SourceControl] Got 2 log items:
  19. Revision: 3982fd5a6dd3
  20. Author: John Appleseed
  21. Date: 2015-06-19 18:37:31 +0000
  22. Remove run scripts (is obsolete and was causing a warning)
  23. Revision: c1decaa74923
  24. Author: John Appleseed
  25. Date: 2015-06-19 18:34:38 +0000
  26. Merge remote-tracking branch 'origin/master'
  27. 2015-08-03 10:26:55.775 XCSCheckoutIntegrationStep.m:435 [XCSCheckoutIntegrationStep saveCommitHistory]
  28. [SourceControl] Saving commit history, errors: (null)

Response: 404

Body

  1. {
  2. "status": 404,
  3. "message": "Not found"
  4. }