Comments (6)
The current state should support both the Xcode 6 and 7 APIs. They haven't actually changed it to the original, reversed engineered version.
And I think you're looking for this video.
from xcodeserversdk.
This video was super cool but I wonder if they'll provide some docs for the API.
For now they officially support those endpoints:
Type | Path | Description |
---|---|---|
GET | /bots |
List bots on server |
POST | /bots |
Create a new bot |
GET | /bots/(id) |
Retrieve a bot by ID |
PATCH | /bots/(id) |
Update a bot’s configuration |
GET | /bots/(id)/integrations |
Get the most recent integrations for a bot |
POST | /bots/(id)/integrations |
Enqueue a new integration |
GET | /integrations |
List integrations on server |
GET | /integrations/(id) |
Retrieve an integration by ID |
GET | /integrations/(id)/commits |
List the commits included in an integration |
GET | /integrations/(id)/issues |
List the build issues produced by an integration |
GET | /devices |
List devices connected to server |
GET | /repositories |
List hosted repositories on server |
POST | /repositories |
Create a new hosted repository |
It's easy to handle GET
endpoints - actually there's nothing to handle but when taking into account some POST
ones we're back to trials and errors. I see they haven't updated the Xcode Server and Continuous Integration Guide to provide anything about API.
from xcodeserversdk.
Yeah I heard they'll provide proper documentation with Seed 2 or 3 of Xcode 7, so we just need to wait a couple of weeks. But when it comes to functionality, nothing has changed (with one exception - fingerprint validation) when it comes to the APIs. So all these calls that I originally reverse-engineered for Buildasaur still work well. Thus there should be not much additional work to get everything properly compatible with Xcode 7.
Btw, I'm sure you know, but you can actually see all the APIs available in /Applications/Xcode.app/Contents/Developer/usr/share/xcs/xcsd/routes/routes.js
in Xcode 6 and in the files in folder /Applications/Xcode-beta.app/Contents/Developer/usr/share/xcs/xcsd/routes/
in Xcode 7. They just tidied the files in Xcode 7 but didn't change the API calls themselves (thank goodness).
from xcodeserversdk.
I think that was their point to first hide it, maintain it and if it' ready than release it and tell devs - look what a great tool we give you! 😉
I meant that a clean documentation with a list of required fields will be helpful so we don't have to struggle each time with blueprints and over bloating JSON we generate.
from xcodeserversdk.
Sure, but the stuff we send now is exactly what Xcode sends when talking to Xcode Server. That's how I reverse-engineered it, by using a proxy and observing the payload that gets sent 😄
I sure hope there will now be a larger community around integrating with Xcode Server's API, because it's a pretty awesome tool. And by making the API public, many more people will find it worth while to look into it (hopefully, time will tell).
from xcodeserversdk.
Closing for now, as there's no next step we can take at the moment :)
from xcodeserversdk.
Related Issues (20)
- Provide RAC extensions (as a subspec) HOT 2
- Use Nimble for test matchers HOT 4
- Add support for live updates from XCS HOT 1
- Wait for integration results HOT 2
- Crash - no available platforms on Xcode Server HOT 6
- Add platforms for tvOS and tvOS simulator HOT 1
- Rename dictionarify to jsonify to be consistent with BuildaUtils
- Review & adapt to the new XCS API Docs HOT 2
- Release a spec with tvOS support HOT 1
- XcodeServerProxy (proxy, load balancer) HOT 4
- Has API changed with latest OS X Server update? HOT 8
- Call to server.getIntegrations fails with 400 Error HOT 4
- Incompatible with Xcode 7.3 beta HOT 4
- Build a API tester to run on every new release
- Cancel API not working HOT 3
- Not compiling in Swift 2.3 HOT 2
- bot creation HOT 1
- Include repository fingerprint to make adjusting bots easier
- Re-record test cassettes with Xcode 7 Beta 6 changes HOT 1
- Don't send `rev` when deleting a Bot
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xcodeserversdk.