Git Product home page Git Product logo

Comments (6)

czechboy0 avatar czechboy0 commented on July 17, 2024

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.

cojoj avatar cojoj commented on July 17, 2024

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.

czechboy0 avatar czechboy0 commented on July 17, 2024

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.

cojoj avatar cojoj commented on July 17, 2024

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.

czechboy0 avatar czechboy0 commented on July 17, 2024

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.

czechboy0 avatar czechboy0 commented on July 17, 2024

Closing for now, as there's no next step we can take at the moment :)

from xcodeserversdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.