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 Technology Lab

 
  • Topic is locked indefinitely.
 

Devsite Blog: Read/Write of saved fits now on Sisi!

First post
Author
CCP Logibro
C C P
C C P Alliance
#1 - 2015-10-14 13:17:08 UTC  |  Edited by: CCP Phantom
[img]https://i.imgur.com/7drHiqrh.jpg[/img]

The CREST endpoints for viewing, creating and deleting ship fittings are now live on Singularity. Read this post by CCP Foxfour for all of the wonderful goodness!

CCP Logibro // EVE Universe Community Team // Distributor of Nanites // Patron Saint of Logistics

@CCP_Logibro

CCP FoxFour
C C P
C C P Alliance
#2 - 2015-10-14 13:34:43 UTC
I want to see you guys do cool ****, so GO!

@CCP_FoxFour // Technical Designer // Team Tech Co

Third-party developer? Check out the official developers site for dev blogs, resources, and more.

Wacktopia
State War Academy
Caldari State
#3 - 2015-10-14 13:41:59 UTC
Ohyesohyesohyesohyesohyesohyesohyesohyesohyesohyesohyesohyesohyesohyesohyesohyes!

Kitchen sink? Seriousy, get your ship together -  Fleet-Up.com

Querns
GoonWaffe
Goonswarm Federation
#4 - 2015-10-14 16:52:50 UTC
Very cool. This is an important first step and a momentous occasion for third party developer support.

One question -- does this endpoint allow you to edit a corporation's saved fittings, or personal saved fittings, or both?

This post was crafted by the wormhole expert of the Goonswarm Economic Warfare Cabal, the foremost authority on Eve: Online economics and gameplay.

CCP FoxFour
C C P
C C P Alliance
#5 - 2015-10-14 17:11:11 UTC
Querns wrote:
Very cool. This is an important first step and a momentous occasion for third party developer support.

One question -- does this endpoint allow you to edit a corporation's saved fittings, or personal saved fittings, or both?


Just the fittings for your character. It does NOT allow you to edit your corporations fits. That requires roles and some other tech to be sorted out first.

@CCP_FoxFour // Technical Designer // Team Tech Co

Third-party developer? Check out the official developers site for dev blogs, resources, and more.

Querns
GoonWaffe
Goonswarm Federation
#6 - 2015-10-14 17:19:01 UTC  |  Edited by: Querns
CCP FoxFour wrote:
Querns wrote:
Very cool. This is an important first step and a momentous occasion for third party developer support.

One question -- does this endpoint allow you to edit a corporation's saved fittings, or personal saved fittings, or both?


Just the fittings for your character. It does NOT allow you to edit your corporations fits. That requires roles and some other tech to be sorted out first.

Alright, thanks.

Oh, thought of one more question -- if I submit a fit for a character that falls foul of the OwnerMaxFittings, FittingNameTooLong, or FittingDescriptionTooLong error conditions, will the failed request count against my total number of requests per time period?

This post was crafted by the wormhole expert of the Goonswarm Economic Warfare Cabal, the foremost authority on Eve: Online economics and gameplay.

CCP FoxFour
C C P
C C P Alliance
#7 - 2015-10-14 17:23:04 UTC
Querns wrote:
CCP FoxFour wrote:
Querns wrote:
Very cool. This is an important first step and a momentous occasion for third party developer support.

One question -- does this endpoint allow you to edit a corporation's saved fittings, or personal saved fittings, or both?


Just the fittings for your character. It does NOT allow you to edit your corporations fits. That requires roles and some other tech to be sorted out first.

Alright, thanks.

Oh, thought of one more question -- if I submit a fit for a character that falls foul of the OwnerMaxFittings, FittingNameTooLong, or FittingDescriptionTooLong error conditions, will the failed request count against my total number of requests per time period?


Yes

@CCP_FoxFour // Technical Designer // Team Tech Co

Third-party developer? Check out the official developers site for dev blogs, resources, and more.

CCP FoxFour
C C P
C C P Alliance
#8 - 2015-10-14 17:28:09 UTC
That is a rate limit for each user not app

@CCP_FoxFour // Technical Designer // Team Tech Co

Third-party developer? Check out the official developers site for dev blogs, resources, and more.

Max Kolonko
Caldari Provisions
Caldari State
#9 - 2015-10-15 10:44:37 UTC  |  Edited by: Max Kolonko
Question regarding crest as a whole and into the future functions (corporate fits for example).

Can i make an app, log in using my director alt, store my token in the app so no relogging is needed. Then allow users to use my app and will they be able to use in game functions of my director char as though as it was me?

Example: hopefully we bill get corp fittings at some point. Fleet-up or osmium or other web based fitting manager allow me to login using my director roles and is storing my token. Than i allow users of my group on fleet up to create, update, delete fits and will fleet up be able to upload it to eve without me having to relog on fleet up when they will want to push doctrin changes to game.

My early test with market allowed me to do this, once i logged in when prompted every time i've run my R script it used stored token to log in without prompting login screen. So i assume this can be done but maybe it will be different for write endpoints?

Followup question: if yes than how can user prevent it when using 3rd party apps other than revoking rights to app long after damage is done?
CCP FoxFour
C C P
C C P Alliance
#10 - 2015-10-15 11:19:39 UTC
Max Kolonko wrote:
Question regarding crest as a whole and into the future functions (corporate fits for example).

Can i make an app, log in using my director alt, store my token in the app so no relogging is needed. Then allow users to use my app and will they be able to use in game functions of my director char as though as it was me?

Example: hopefully we bill get corp fittings at some point. Fleet-up or osmium or other web based fitting manager allow me to login using my director roles and is storing my token. Than i allow users of my group on fleet up to create, update, delete fits and will fleet up be able to upload it to eve without me having to relog on fleet up when they will want to push doctrin changes to game.

My early test with market allowed me to do this, once i logged in when prompted every time i've run my R script it used stored token to log in without prompting login screen. So i assume this can be done but maybe it will be different for write endpoints?

Followup question: if yes than how can user prevent it when using 3rd party apps other than revoking rights to app long after damage is done?


When you log into an application or web site you will be told what permissions are being requested. If you grant those permissions then the only way to stop the web site or application from being allowed to access what you gave it permissions for is to revoke that access through the community web site.

Accessing your characters fits is a different permission than accessing your corporations fits though. So right now you could give an application permission to use charactersFittingWrite and that application could delete or create new fits for your character. However when we add corporationsFittingWrite they will need to request those permissions again.

Be careful who you give permission to do things.

@CCP_FoxFour // Technical Designer // Team Tech Co

Third-party developer? Check out the official developers site for dev blogs, resources, and more.

TheSmokingHertog
Julia's Interstellar Trade Emperium
#11 - 2015-10-19 13:06:58 UTC
CCP FoxFour wrote:
Querns wrote:
Very cool. This is an important first step and a momentous occasion for third party developer support.

One question -- does this endpoint allow you to edit a corporation's saved fittings, or personal saved fittings, or both?


Just the fittings for your character. It does NOT allow you to edit your corporations fits. That requires roles and some other tech to be sorted out first.


Legacy code? *cough* ?

"Dogma is kind of like quantum physics, observing the dogma state will change it." ~ CCP Prism X

"Schrödinger's Missile. I dig it." ~ Makari Aeron

-= "Brain in a Box on Singularity" - April 2015 =-

CCP FoxFour
C C P
C C P Alliance
#12 - 2015-10-22 11:51:56 UTC
We deployed a set of fixes to the CREST resource last night. Please let me know if you run into any issues and thanks for all your help in testing this.

@CCP_FoxFour // Technical Designer // Team Tech Co

Third-party developer? Check out the official developers site for dev blogs, resources, and more.

CCP FoxFour
C C P
C C P Alliance
#13 - 2015-10-28 14:31:49 UTC
As a heads up the total number of items in a fit being saved is capped at 255. That along with a few more defect fixes will be deployed to Sisi tomorrow.

I am looking into why cargo seems to not show up in the fit.

@CCP_FoxFour // Technical Designer // Team Tech Co

Third-party developer? Check out the official developers site for dev blogs, resources, and more.

Icahmura Hasaki
Perkone
Caldari State
#14 - 2015-10-28 18:18:04 UTC
I am able to read and delete fittings, but when trying to add a new one I get a 401 Unauthorized error, with the following data:

{"message": "Authentication scope needed", "key": "authNeeded", "exceptionType": "UnauthorizedError"}


I've checked and double checked, I can't find if I'm doing something wrong. Anyone else got this working ?

Developer of EveLib and EveAuthUtility

CCP FoxFour
C C P
C C P Alliance
#15 - 2015-10-29 08:27:37 UTC
Icahmura Hasaki wrote:
I am able to read and delete fittings, but when trying to add a new one I get a 401 Unauthorized error, with the following data:

{"message": "Authentication scope needed", "key": "authNeeded", "exceptionType": "UnauthorizedError"}


I've checked and double checked, I can't find if I'm doing something wrong. Anyone else got this working ?


It's working for lots of people. Any chance you can share more information about the requests you're making?

@CCP_FoxFour // Technical Designer // Team Tech Co

Third-party developer? Check out the official developers site for dev blogs, resources, and more.