These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Information Portal

 
  • Topic is locked indefinitely.
Previous page123Next page
 

New dev blog: caks and contracts in the API

First post First post
Author
Yophant
Pan-Intergalatic Business Community
#21 - 2011-09-08 13:11:44 UTC
Arcana Mortis wrote:
CAK?

what is that?

That's abbreviation from "Customizable API Key(s)"
Palovana
Inner Fire Inc.
#22 - 2011-09-08 14:44:41 UTC
Yophant wrote:
Arcana Mortis wrote:
CAK?

what is that?

That's abbreviation from "Customizable API Key(s)"

I thought he was trying to say "cake".

But we all know that's a lie. (Disclaimer: I really don't know what this means, but all the koolkidz say it).
Aussie ALF
Caldari Provisions
Caldari State
#23 - 2011-09-08 14:50:29 UTC
When I saw that Assets now return the singleton and bpc state I was very excited, however still doesn't report the ME or PE or Runs of the Blueprint. Would be awesome if we can somehow get that information.

Other than that, brilliant work guys
Ikaef Giasep
Deep Core Mining Inc.
Caldari State
#24 - 2011-09-09 09:42:03 UTC
After reading the blog I got two questions:

  • Does it mean that we can already use it on TQ?
  • If I register a new key, can I still continue to use the legacy ones at the same time?

CCP Elerhino
C C P
C C P Alliance
#25 - 2011-09-09 09:58:57 UTC
Yophant wrote:
Maybe it's possible to change new API key creation's logic to make all characters (not only Directors and CEOs) being able to create "Corporation" keys, which should provide access according to character roles.


Players can see this information in-game but the API differs from the game client in that people can so easily give other people access to their data which can then be followed and accumulated over time. One reason we decided to go this way was to limit potential data leaks in the API, accidental or not, only allowing the top level members access.

The idea is that you ask your CEO or a director for the access you need. That way they can keep a tight control on what corporate information is being accessed and by whom.

We were a bit unsure about this decision so we took the discussion to the forums at the time this was all in public testing and the general consensus was that this is better, actually we only allowed CEOs access at the time but following the forum discussions we added director access as well.

So to answer your question, we don't plan to change this.

CCP Elerhino
C C P
C C P Alliance
#26 - 2011-09-09 10:05:57 UTC
Ikaef Giasep wrote:
After reading the blog I got two questions:

  • Does it mean that we can already use it on TQ?
  • If I register a new key, can I still continue to use the legacy ones at the same time?



Yes, you can use it on TQ, go to the support website to create one. Big smile

Yes, you can still use the legacy keys but we're in the process of phasing them out so don't expect them to work forever.
Ikaef Giasep
Deep Core Mining Inc.
Caldari State
#27 - 2011-09-09 11:20:17 UTC
Johnathan Roark wrote:
Hiram Alexander wrote:
I'm not massively interested in API stuff personally, as I'm not a developer. However...

If I read that right, it's possible to give out an API for a single character, rather than for the whole account, which is how it would normally work. So, if that's possible after all, then my question is this:

If a corp recruiter requested an API key for all of your characters on a particular account, and you handed over the API for a single character instead, would there be an easy indicator that the wrong info. had been given, or would s/he be none the wiser...?


In one of the calls, eve/APIKeyInfo.xml.aspx, there is an attribute that gives the type of key, it can be "corporation", "character", or "account". A recruiter would need to make sure it says "account" ...


Errm... after checking http://api.eveonline.com/api/callList.xml.aspx I did not see an "account" level key type. Does it really exist?
CCP Elerhino
C C P
C C P Alliance
#28 - 2011-09-09 12:36:10 UTC
Ikaef Giasep wrote:

Errm... after checking http://api.eveonline.com/api/callList.xml.aspx I did not see an "account" level key type. Does it really exist?


Yeah, it does, it's just not listed there. You can use https://api.eveonline.com/account/APIKeyInfo.xml.aspx to find out the key type, there it will say "Account" if it works for all characters on the account. Blink
Dierdra Vaal
Interstellar Stargate Syndicate
#29 - 2011-09-09 12:38:58 UTC
Could you explain the rationale behind allowing only 10 API keys? I think quite a number of people will use more than 10 programs/websites that require the API. Is there a good reason for not simply allowing any number of keys (or otherwise a larger number)?

Veto #205

Director Emeritus at EVE University

CSM1 delegate, CSM3 chairman and CSM5 vice-chairman

Evesterdam organiser and CSM Vote Match founder

Co-Author of the Galactic Party Planning Guide

Aussie ALF
Caldari Provisions
Caldari State
#30 - 2011-09-09 12:59:40 UTC
Remember you dont need a key per application, but rather per permission set. So I dont see why you would need more than 10 combinations of security. The more keys I would imagine the more cache.
Johnathan Roark
Quantum Industries
#31 - 2011-09-11 05:36:17 UTC
Aussie ALF wrote:
Remember you dont need a key per application, but rather per permission set. So I dont see why you would need more than 10 combinations of security. The more keys I would imagine the more cache.



But more would make it so much easier to manage what apps have access, especially web based apps. Also for corp directors and ceos 10 will be a big problem. I can see one for the starbase app, one for the killboard, etc.

EVEVERIFY - A recruiting API Verification and Audit Tool

Also try out Yapeal for your php api needs

Alain Kinsella
#32 - 2011-09-12 00:34:34 UTC
Johnathan Roark wrote:
Aussie ALF wrote:
Remember you dont need a key per application, but rather per permission set. So I dont see why you would need more than 10 combinations of security. The more keys I would imagine the more cache.



But more would make it so much easier to manage what apps have access, especially web based apps. Also for corp directors and ceos 10 will be a big problem. I can see one for the starbase app, one for the killboard, etc.


That's a very valid point for corp-level.

Perhaps the number of keys for each type of key (character, account, corp) should be different? Say 10, 25, and 50 respectively.

"The Meta Game does not stop at the game. Ever."

Currently Retired / Semi-Casual (pending changes to RL concerns).

Johnathan Roark
Quantum Industries
#33 - 2011-09-12 03:17:41 UTC
Alain Kinsella wrote:
Johnathan Roark wrote:
Aussie ALF wrote:
Remember you dont need a key per application, but rather per permission set. So I dont see why you would need more than 10 combinations of security. The more keys I would imagine the more cache.



But more would make it so much easier to manage what apps have access, especially web based apps. Also for corp directors and ceos 10 will be a big problem. I can see one for the starbase app, one for the killboard, etc.


That's a very valid point for corp-level.

Perhaps the number of keys for each type of key (character, account, corp) should be different? Say 10, 25, and 50 respectively.



Id go 25, 15, 50 unless its 10 per character. I just see 10 total being way too low especially since CEOs will be expected to give members keys for various things, which I wouldn't change, but increase the key limit for them.

EVEVERIFY - A recruiting API Verification and Audit Tool

Also try out Yapeal for your php api needs

Dvorak Telemnar
Griffin Capsuleers
Ad-Astra
#34 - 2011-09-13 06:57:05 UTC  |  Edited by: Dvorak Telemnar
Is there any official documentation on the New CAK API?

http://wiki.eveonline.com/en/wiki/EVE_API_Functions
Is nice but has no reference to CAK and is obsolete

http://www.eveonline.com/api/doc/
Blank??

From Devblog http://www.eveonline.com/devblog.asp?a=blog&bid=912
Quote:
Creating keys with specific access

In order to make it easier for programs to instruct a user on how to create a key with the specific needs of the application, we've made a way for applications to send the user to the "Create Key" page with pre-defined data. The URL pattern is like this:

http://supporttest.eveonline.com/api/Key/CreatePredefined/{accessMask}/{characterID}/{isCorporationKey(true/false)}

For character keys the characterID and isCorporationKey are optional but for corporation keys they are mandatory and the specified character must be a CEO. Examples:

Character: http://supporttest.eveonline.com/api/Key/CreatePredefined/9830414
Character: http://supporttest.eveonline.com/api/Key/CreatePredefined/9830414/150145436
Character: http://supporttest.eveonline.com/api/Key/CreatePredefined/9830414/150145436/false
Corporation: http://supporttest.eveonline.com/api/Key/CreatePredefined/9830414/150145448/true

Is this still planned/in use/working? I need to write a guide for new recruits on providing the right information on their applications.

The only place I can find a form of cohesive documentation is : http://wiki.eve-id.net/APIv2_Page_Index
I am still a little confused an how to use the masks etc.

Come on CCP; I would have thought you would have made sure the documentation is up to scratch when you launched - trawling through forums to get info is NOT FUN!
Dierdra Vaal
Interstellar Stargate Syndicate
#35 - 2011-09-14 10:43:43 UTC
Aussie ALF wrote:
Remember you dont need a key per application, but rather per permission set. So I dont see why you would need more than 10 combinations of security. The more keys I would imagine the more cache.


Because different programs require different permission sets, and you shouldn't give a program or website more information than the absolute minimum. I can easily imagine a situation where I'd more than 10 different permission sets.

Additionally, allowing people sufficient keys for all their programs also means you can easily revoke one key (for one program) without having to redo the key for other programs.

I'd still like an answer from CCP on this question.

Veto #205

Director Emeritus at EVE University

CSM1 delegate, CSM3 chairman and CSM5 vice-chairman

Evesterdam organiser and CSM Vote Match founder

Co-Author of the Galactic Party Planning Guide

Elias v'Gorn
Viziam
Amarr Empire
#36 - 2011-09-14 11:48:48 UTC
Dvorak Telemnar wrote:
Is there any official documentation on the New CAK API?

The only place I can find a form of cohesive documentation is : http://wiki.eve-id.net/APIv2_Page_Index
I am still a little confused an how to use the masks etc.


Best bet is too ask in the Eve Tech Lab sub forum. There's lots of us there willing to help.

What about masking is confusing? And do you understand what bit masking is?
el alasar
The Scope
Gallente Federation
#37 - 2011-09-19 02:22:56 UTC
Thanks for the new API system! But I am a little puzzled regarding the chosen granularity of the character sheet / information:

- Querying all learned skills (and levels) only possible through "/char/CharacterSheet.xml.aspx", right? But then also things like balance, implants, ... are made public - i think this is often unwanted!
- Implants in slots 6-10 not shown?

check the moderated 10000 papercuts evelopedia page! http://wiki.eveonline.com/en/wiki/Little_things_and_ideas_-_low_hanging_fruit_-_10000_papercuts comment, bump(!) and like what you like

Johnathan Roark
Quantum Industries
#38 - 2011-09-19 04:15:36 UTC
el alasar wrote:
Thanks for the new API system! But I am a little puzzled regarding the chosen granularity of the character sheet / information:

- Querying all learned skills (and levels) only possible through "/char/CharacterSheet.xml.aspx", right? But then also things like balance, implants, ... are made public - i think this is often unwanted!
- Implants in slots 6-10 not shown?



Implants would be need to calculate training time. Balance, does it really matter that much?

EVEVERIFY - A recruiting API Verification and Audit Tool

Also try out Yapeal for your php api needs

el alasar
The Scope
Gallente Federation
#39 - 2011-09-20 21:17:46 UTC  |  Edited by: el alasar
Johnathan Roark wrote:
Implants would be need to calculate training time. Balance, does it really matter that much?


Usecase: Help people with fitting, at least you need the skill set, theoretically also the implants (slots 1-10!).

But for sure there are many people including myself that - for that purpose - would not like to reveal account balance just yet - this has got nothing to do with skills. As I said, its about the granularity, its a different use case.

There is a reason services like BLEEP have come into existance - showing people need or like something that is not provided from CCP. sad.

check the moderated 10000 papercuts evelopedia page! http://wiki.eveonline.com/en/wiki/Little_things_and_ideas_-_low_hanging_fruit_-_10000_papercuts comment, bump(!) and like what you like

Tanya Powers
Doomheim
#40 - 2011-09-23 14:03:53 UTC
Just can't use the new APi format with evemoon, tryied everything includung "install" on APi page and this one leads me directly to "Error Code: -302"

Nice stuff What?
Previous page123Next page