Uzenet REST API

From Uzebox Wiki
Revision as of 01:38, 24 October 2015 by Uze (talk | contribs) (Created page with "This page describes the Uzenet [https://en.wikipedia.org/wiki/Representational_state_transfer REST] API. This API allows Uzenet functions to be performed by tools, programs or ga...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This page describes the Uzenet REST API. This API allows Uzenet functions to be performed by tools, programs or games over the common HTTP protocol.


Obtain Universal Coordinated Timestamp

Obtain a UTC Unix timestamp representing the current date and time. This timestamp can be processed using regular C functions. To get local time, use C function ex: set_zone(-4 * ONE_HOUR);

GET http://uzebox.org/uzenet/time.php

Response: 32-bit Integer