|
Author |
Thread Statistics | Show CCP posts - 37 post(s) |
Vessper
Indicium Technologies Hephaestus Forge Alliance
|
Posted - 2011.07.21 12:54:00 -
[1]
Will the new API Key management update before the weekend provide a method of accessing the account related APIs, namely the Characters.xml.aspx and AccountStatus.xml.aspx? It's just that they seem to be missing from the API lists.
EveHQ Character App |
Vessper
Indicium Technologies Hephaestus Forge Alliance
|
Posted - 2011.07.21 13:38:00 -
[2]
Thanks, good to know
OK, a possible bug (or maybe clarification required). When choosing "All" characters for a new API key, the characterID attribute in the APIKeyInfo.xml.aspx does not contain anything. Works fine for a single character but not sure if the attribute should contain a list of IDs that the key will work with.
EveHQ Character App |
Vessper
Indicium Technologies Hephaestus Forge Alliance
|
Posted - 2011.07.22 14:46:00 -
[3]
Originally by: Desmont McCallock I don't think this is a bug and should stay as it is.
Example: The query order logic will be (at least in EVEMon will): - Query Characters call with given credentials to find to what character's in account the credentials are bound to.
- Query APIKeyInfo call to find the calls the given credentials expose.
So if APIKeyInfo call doesn't contain any characterID, then it means that the given credentials are valid for all characters in account and you have those ID's from the Characters call.
Just because you have an alternative API to call doesn't mean that it's not a bug in this one. The APIKeyInfo API should be exactly that, not some partially returned information because the info is available elsewhere.
In fact, characterName, corpID and corpName could be added to the APIKeyInfo for character keys, and have an entry for each valid character the key is used for. If this then provides the same functionality as Characters.xml.aspx, then you only ever need to make the call to APIKeyInfo. I'd much rather see this as it gives you the current access mask and expiry time as well as the basic character info.
EveHQ Character App |
Vessper
Indicium Technologies Hephaestus Forge Alliance
|
Posted - 2011.07.22 16:52:00 -
[4]
Did someone break the API key generation page? The ability to generate corporate keys has stopped working as it's no longer possible to select Corporation from the Type drop-down, regardless of whether the characters are CEO or not. All my characters now say "Corp" next to them whereas before they said "CEO" (where applicable). Most likely related to that, the CreatePredefined page doesn't want to create corp keys.
Also, some usability points for the API Key generation page:
1. The generate button for the vcode doesn't work. 2. When creating a new key from scratch, the Expiry date is set 1 year into the future. However, when using the CreatePredefined option, the date is set to today's date. Ideally, this should also be set 1 year in the future. 3. Probably more wishful thinking, what are the chances of being able to pass Key Name and vCode data to the CreatePredefined page?
EveHQ Character App |
Vessper
Indicium Technologies Hephaestus Forge Alliance
|
Posted - 2011.07.22 22:31:00 -
[5]
Originally by: CCP Stillman
Originally by: Vessper Did someone break the API key generation page? The ability to generate corporate keys has stopped working as it's no longer possible to select Corporation from the Type drop-down, regardless of whether the characters are CEO or not. All my characters now say "Corp" next to them whereas before they said "CEO" (where applicable). Most likely related to that, the CreatePredefined page doesn't want to create corp keys.
Also, some usability points for the API Key generation page:
1. The generate button for the vcode doesn't work. 2. When creating a new key from scratch, the Expiry date is set 1 year into the future. However, when using the CreatePredefined option, the date is set to today's date. Ideally, this should also be set 1 year in the future. 3. Probably more wishful thinking, what are the chances of being able to pass Key Name and vCode data to the CreatePredefined page?
Some of the support site broke during an integration. We'll fix it on monday
Any chance you can also fix the WalletJournal API while you're at it? Still not returning a month's worth of entries despite the numerous bug reports and forum threads describing it. I know it's slightly off-topic but it seems a good opportunity seeing as though we have a dev watching the thread
EveHQ Character App |
Vessper
Indicium Technologies Hephaestus Forge Alliance
|
Posted - 2011.07.22 23:28:00 -
[6]
Originally by: Johnathan Roark
Originally by: CCP Stillman
Originally by: Vessper
OK, a possible bug (or maybe clarification required). When choosing "All" characters for a new API key, the characterID attribute in the APIKeyInfo.xml.aspx does not contain anything. Works fine for a single character but not sure if the attribute should contain a list of IDs that the key will work with.
Good catch, I'll discuss with Elerhino about changing that to be more explicit!
Thank you :)
My concern is having a way to test if it is set to all if an account only has one character. The way it is now with an empty characterID attribute I have a way. Also, can I suggest returning the keyID in APIKeyInfo.xml.aspx.
As I mentioned earlier, it's not that particular API's place to determine what characters are on what account, but only to state the ability of the key presented. I guess you would need the Characters.xml.aspx to continue it's previous role and provide full disclosure of alts. In which case, I suggest that the API be moved to an optional one and allow users to decide whether to disclose this information in their APIs.
EveHQ Character App |
Vessper
Indicium Technologies Hephaestus Forge Alliance
|
Posted - 2011.07.29 20:49:00 -
[7]
Edited by: Vessper on 29/07/2011 20:56:35
Originally by: Desmont McCallock
So what needs to be fixed is: - Returned characterID info of APIKeyInfo call for all characters. Fixed. - Set AccountStatus as private information call (update calllist with given accessMask). Not fixed. - Switching results of CharacterInfo call between public and private info group. Not fixed. - Revise returned ship info of CharacterInfo call. Not fixed.
As far as I can tell, the AccountStatus API has been moved to a private character API with an access mask of 33554432. In addition, the new Contract APIs have also been included (both character and corporate) and masks added. I've not tested these so no idea if they actually work as planned.
Edit: Link to image
Originally by: Desmont McCallock With CAK system, it will not be possible to do calls to Character related calls if you have the API key issued for Corporation use (if I'm mistaken you can discard the following lines).
This will create an issue with most applications. I will take for example EVEMon as this is the app I'm administrating. Right now EVEMon only monitors Character related calls info (with some minor Corporation calls to MarketOrders and IndustryJobs where characters are in a player's corp and have the right roles). I plan to add some Corp related features in the future and the CAK system will block that ability in the following explained sense. In the current API system a user can give EVEMon the full API key and have calls to both "Character" and "Corporation" related calls, which aren't blocking us in coding in any Corporation feature. Now, with the CAK system, an API key is either 'Character' or 'Corporation' calls, bound API key in CAK"?, for characters that have CEO or Directors roles. Like adding in the dropdown menu of "Type:" the word 'Both'? I'm afraid that this will be impossible the way the CAK system is currently designed but I'm raising this question to draw attention to that matter. If somebody has a solution on that, I'm more than glad to here it.
Yep, I feel your pain on this one! And I think you're correct in that the way the new system is designed will probably exclude the possibility of allowing both character and corporate APIs on the same key. I've been pondering this change over for the past week or so and despite having several possible solutions, I've still not decided on how best to approach it.
EveHQ Character App |
Vessper
Indicium Technologies Hephaestus Forge Alliance
|
Posted - 2011.08.05 10:42:00 -
[8]
Originally by: CCP Stillman APIKeyInfo.xml.aspx contains a list of all characters you can query
I think what most people are trying to get at is a simple way of finding ALL characters on the account, irrespective of whether the API key is for one or all characters. If the API key is set up for access to the data of only one character, APIKeyInfo.xml.aspx only shows the one character, as does Characters.xml.aspx.
Two possible ways this could be done:
1. Characters.xml.aspx shows all characters on the account, those that are accessible by the API key and also those that aren't. 2. APIKeyInfo.xml.aspx (or Characters.xml.aspx for that matter) adds another field indicating the number of characters created on the account. This would show if there are any additional characters but not disclose their IDs or names.
Personally, I'd prefer the first option but whatever is easier.
Also, confirming that clicking the update link on the API Key index page resets the vCode to some random string, which it clearly shouldn't.
EveHQ Character App |
Vessper
Indicium Technologies Hephaestus Forge Alliance
|
Posted - 2011.08.08 09:59:00 -
[9]
Originally by: Hel O'Ween Does the MO API work for somebody? I'm still getting the above error.
Doesn't work for me either. Takes a while for the response to come back from the API only to find out that Scotty is being a jerk again.
EveHQ Character App |
Vessper
Indicium Technologies Hephaestus Forge Alliance
|
Posted - 2011.08.26 20:17:00 -
[10]
I've been getting things together for the new API and I've found some oddness with some corp related data and want some clarification as to whether I understand this correctly.
Basically, any corp orders or contracts are currently listed under the character which made the order/contract. I would have thought that such items would be listed under the corp APIs rather than the characters. The industry jobs API appears to work correctly in this regard, with any jobs started from corporate hangars being listed in the corp APIs and not the character APIs.
So, I guess what I'm asking is if the orders and contracts APIs are currently broke or is there some design aspect I'm not understanding?
EveHQ Character App |
|
Vessper
Indicium Technologies Hephaestus Forge Alliance
|
Posted - 2011.08.29 14:38:00 -
[11]
Originally by: CCP Elerhino
Originally by: Vessper I've been getting things together for the new API and I've found some oddness with some corp related data and want some clarification as to whether I understand this correctly.
Basically, any corp orders or contracts are currently listed under the character which made the order/contract. I would have thought that such items would be listed under the corp APIs rather than the characters. The industry jobs API appears to work correctly in this regard, with any jobs started from corporate hangars being listed in the corp APIs and not the character APIs.
So, I guess what I'm asking is if the orders and contracts APIs are currently broke or is there some design aspect I'm not understanding?
Characters can see all contracts they've issued, corporations can see the ones that were issued for corporations. So the lists currently overlap, corporation contracts should show up on both lists.
In that case, it's not working. Looking at my character contracts, I have one that states:
<row contractID="44541527" issuerID="440717473" issuerCorpID="239093838" assigneeID="0" acceptorID="0" startStationID="60002770" endStationID="60002770" type="ItemExchange" status="Outstanding" title="Corp Shuttle Exchange" forCorp="1" availability="Public" dateIssued="2011-08-26 18:38:52" dateExpired="2011-09-09 18:38:52" dateAccepted="" numDays="0" dateCompleted="" price="1234567.00" reward="0.00" collateral="0.00" buyout="0.00" volume="2500" />
If you look at the corp contracts, the XML returns no rows and the corp/ContractItems gives an invalid contractID.
EveHQ Character App |
|
|
|