Comments (8)
The first one is a Bot, the second one is an Integration payload. I haven't seen any reports of the API changing. Is something failing for you?
from xcodeserversdk.
Thats wierd the top response is from the bot endpoint because this the request I am sending https://server.example.com:20343/api/integrations/d527eca6aaac9f039f79924d5400cfc2
from xcodeserversdk.
I am running OS X Server 5.0.15 with Xcode 7.1.1
XcodeServerSDK would crash when calling the server.getIntegrations
call
from xcodeserversdk.
I tried it and for some reason, when you pass a bot id into the path, you do get a bot back even with the /integrations
endpoint, that shouldn't be the case, definitely should fail (if you radar this I'll dup it). However, that id above that you have in your url must be a bot id, not an integration id. If you actually supply an integration id (which it's expecting), you get an integration back.
from xcodeserversdk.
Do I list the radar under OS X server? or Xcode?
from xcodeserversdk.
Also if I try to make this call
server.getIntegrations { integrations, error in
if let firstIntegration = integrations?.first {
print(firstIntegration.buildResultSummary!.testsCount)
} else {
print("Error: \(error?.description)")
}
}
I get this in the console:
Error: Optional("Error Domain=com.honzadvorsky.Buildasaur Code=0 \"Wrong body Optional({\n message = \"unable to parse the query string\";\n status = 400;\n})\" UserInfo={NSLocalizedDescription=Wrong body Optional({\n message = \"unable to parse the query string\";\n status = 400;\n})}")
from xcodeserversdk.
That looks like a genuine bug in XcodeServerSDK, can you please open a new ticket for that? Thanks!
from xcodeserversdk.
Tracked in #127
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
- 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.