4844 active members
  4816 are online

Year

22

Day

331

Time

19:09:38

Guest
Login
snewsgnewsmessagegeneralfactioninventorycombatroom
Fully Implemented

Fully Implemented

URL: https://dev.swcombine.com/ws/v2.0/api/time[/]
Method: GET
Description: Gets the current Combine Galactic Time
Pattern Description: N/A
Rate Limited: No
Query String: N/A
Parameters: N/A
Requires Authentication: No
Permissions: N/A
Returns: 200 OK: Returns current time


URL: https://dev.swcombine.com/ws/v2.0/api/time[/]
Method: POST
Description: Converts a real timestamp into a Combine Galactic Time or a Combine Galactic Time into a real timestamp
Pattern Description: N/A
Rate Limited: No
Query String: N/A
Parameters: cgt (string, optional): CGT to convert. Accepts Y##D### and Year ## Day ###(, ##:##(:##)) formats. If both are provided, this takes precedence
time (number, optional): real timestamp to convert
Requires Authentication: No
Permissions: N/A
Returns: 200 OK: OK - Returns converted value
500 Internal Server Error: Internal Server Error - Invalid input