Documentation of Variispace

Documentation generated on using project's JS sources

HTML attributes

form[data-on-success]

Apply JS submit to forms
reload
reloads the current browsing context
goto:/url/
makes current browsing context go to the specified URL
event-lock:eventName
fires the specified on the form, and leaves the form locked
message
displays the server's returned message
in file /resources/template/web/form.js

img[alt]:not([alt=""]):not([title])

Automatically set the image title according to its alt in file /resources/template/web/web.js

time[datetime]:not([title])

Formats the date on "time" HTML elements in file /resources/template/web/web.js

*[data-confirm-delay]

Confirmation delay for some critical actions
Shows a 5...4...3...2...1... countdown and player must reclick the button before countdown is over to confirm the action in file /resources/template/web/web.js

*[data-time-duration]

Countdown as a timer in file /resources/template/web/web.js

*[data-increment][data-increment-limit]

Countdown as an integer in file /resources/template/web/web.js

.auto-submit

Submit on change in file /resources/template/web/web.js

.must-be-modified

Don't submit if field was not changed in file /resources/template/web/web.js

.listing .element > img.clickable:first-child + span > a

When clicking an image ".clickable" in the listing, it will click the next span's anchor link
It makes clicking linkws in .element's spans easier by clicking the main image instead in file /resources/template/web/web.js

.events-notifier[data-infos][data-other-infos]

Looks for new notification events
Note that there should be only 1 element like this (else, title will mess up!) in file /resources/template/web/web.js

iframe.space-map-animated.clickable + .button-action

Space map frame in file /resources/template/web/web.js

.adjustable-text

in file /resources/template/web/web.js

All endpoints

This section also exists in Open API JSON version.

This is the list of all project's URLs. If the HTTP verb is POST then the endpoint cannot be GET called.
All endpoints can be contacted with the HTTP Accept header of your choice. You can also use the http-accept GET parameter. You can also use the http-accept GET parameter. So /url/?http-accept=application/json is the same as /url/ with Accept: application/json HTTP header, and it returns the page's data formatted in JSON.

GET /atom/mendeleiev/

Not documented
Name Description
elt Not documented

GET /atom/single/

Not documented
Name Description
id Not documented

GET /community/

Not documented

GET /community/credits/

Not documented

GET /community/feedback/

Not documented

POST /community/feedback/submit/

Not documented
Name Description
globalImpression Not documented
easyToStart Not documented
goalIsClear Not documented
isPretty Not documented
isEasyToPlay Not documented
isBalanced Not documented
isImmersive Not documented
progressEasily Not documented
iWillKeepPlaying Not documented
longComment Not documented

GET /community/ranking/

Not documented

GET /community/terms/

Not documented

GET /dashboard/

Not documented

POST /dashboard/delete/

Not documented
Name Description
id Not documented

GET /dashboard/eventdetail/

Not documented
Name Description
id Not documented

GET /dashboard/hasnew/

Not documented

POST /dashboard/publication/

Not documented
Name Description
id Not documented

GET /empire/

Not documented

GET /onefleet/

Not documented
Name Description
id Not documented

GET /onefleet/abandon/

Not documented
Name Description
id Not documented

POST /onefleet/abandon/submit/

Not documented
Name Description
id Not documented

GET /onefleet/attack/

Not documented
Name Description
id Not documented

POST /onefleet/attack/defending/

Not documented
Name Description
idFleet Not documented

POST /onefleet/attack/submit/

Not documented
Name Description
idAttackerFleet Not documented
idDefenderFleet Not documented
isSimulation Not documented

GET /onefleet/construction/

Not documented
Name Description
id Not documented

POST /onefleet/construction/submit/

Not documented
Name Description
id Not documented
idToFleet Not documented
idShip Not documented
shipCount Not documented

GET /onefleet/extract/

Not documented
Name Description
id Not documented

POST /onefleet/extract/submit/

Not documented
Name Description
id Not documented
idAtom Not documented

GET /onefleet/modify/

Not documented
Name Description
id Not documented

POST /onefleet/modify/submit/

Not documented
Name Description
idFleet Not documented
name Not documented

GET /onefleet/splitting/resources/

Not documented
Name Description
id Not documented

GET /onefleet/splitting/resources/submit/

Not documented
Name Description
idToFleet Not documented
idFleet Not documented
atom Not documented

GET /onefleet/splitting/ships/

Not documented
Name Description
id Not documented

GET /onefleet/splitting/ships/submit/

Not documented
Name Description
idToFleet Not documented
newFleetName Not documented
idFleet Not documented
ships Not documented

POST /onefleet/stopextraction/

Not documented
Name Description
id Not documented

GET /onefleet/traveling/

Not documented
Name Description
id Not documented

POST /onefleet/traveling/gotooc/

Not documented
Name Description
id Not documented
idOc Not documented

POST /onefleet/traveling/turnback/

Not documented
Name Description
id Not documented

GET /player/identify/

Not documented
Name Description
login Not documented

GET /player/identify/forgotpwd/

Not documented

POST /player/identify/forgotpwd/send/

Not documented
Name Description
email Not documented

GET /player/identify/forgotpwd/setnewpwd/

Not documented
Name Description
login Not documented
token Not documented

POST /player/identify/forgotpwd/setnewpwd/submit/

Not documented
Name Description
login Not documented
token Not documented
password Not documented

POST /player/identify/login/

Not documented
Name Description
login-pseudo Not documented
login-password Not documented

POST /player/identify/logout/

Not documented

POST /player/identify/register/

Not documented
Name Description
register-pseudo Not documented
register-password Not documented
register-email Not documented
acceptConditions Not documented

GET /player/myprofile/

Not documented

POST /player/myprofile/savecritical/

Not documented
Name Description
avatarFile Not documented
biography Not documented
youtube Not documented
website Not documented

POST /player/myprofile/saveinfos/

Not documented
Name Description
avatarFile Not documented
biography Not documented
youtube Not documented
website Not documented
twitter Not documented
instagram Not documented
discordNickname Not documented
discordServer Not documented
deviantart Not documented

GET /player/myprofile/validatemail/validate/

Not documented
Name Description
idPlayer Not documented
hashedEmail Not documented
expires Not documented
signature Not documented

GET /player/profile/

Not documented
Name Description
id Not documented

GET /ship/

Not documented
Name Description
id Not documented

POST /ship/activation/

Not documented
Name Description
idShip Not documented

GET /ship/atomchoice/

Not documented
Name Description
restrict Not documented
idShip Not documented

POST /ship/atomchoice/submit/

Not documented
Name Description
atomType Not documented
idShip Not documented
idAtom Not documented

POST /ship/delete/

Not documented
Name Description
idShip Not documented

POST /ship/makenew/

Not documented

POST /ship/rename/

Not documented
Name Description
idShip Not documented
shipname Not documented

GET /showcase/

Not documented

GET /spacemap/

Not documented
Name Description
id Not documented

GET /spacemap/animated/

Not documented
Name Description
id Not documented

POST /spacemap/rename/

Not documented
Name Description
idOc Not documented
newName Not documented

POST /spacemap/starthere/

Not documented
Name Description
idOc Not documented

You may try this viewer