API, webservice

7 views
Skip to first unread message

David Loyall

unread,
Oct 27, 2008, 3:01:51 AM10/27/08
to timeMarker
Hello!

Any plans to make the service available to automated systems via a
webservice (SOAP)?

--Dave

Alex_B

unread,
Oct 28, 2008, 2:28:11 PM10/28/08
to timeMarker
Hello, Dave.

I think about it.
If more then one persone need it -- i will do it.

-- Alex_B

sebastian nielsen

unread,
Nov 20, 2008, 5:31:23 AM11/20/08
to timeMarker


I would wish to have a API too, because it would be good for financial
bookkeeping to make sure the bookkeeping hasnt been tampered with
after its creaton.
(Tampering with a time-stamped bookkeeping would cause ambivalence
between the serial number and the time stamp, eg: bookkeep 1 would
have time stamp 13:05, bookkeep 2 would have time stamp of 14:23 and
bookkeep 3 would have time stamp of 13:25. It would be visible that
bookkeep 2 has been tampered with, and if bookkeep 2 is moved to the
end (serial number changed to the last), the bookkeep 2 would be look
like missing.)

Alex_B

unread,
Nov 28, 2008, 12:52:45 PM11/28/08
to timeMarker
Thanks for intresting our project.
API is ready, i need some time to deploy it and write some
documentation.

sebastian nielsen

unread,
Dec 27, 2008, 2:19:20 PM12/27/08
to timeMarker
I would suggest using REST instead of SOAP, since REST is more simple
to implement. REST only requires ability to call a url via HTTP GET
and then get a response back...

You could have a simple REST interface like:

http://www.example.com/signdata.cgi?data=Hello, this is the message I
want to sign

And the server replies with the signed message.

Alex_B

unread,
Dec 30, 2008, 1:10:06 PM12/30/08
to timeMarker
New year, new site and new API :)

For SOAP (BasicHttpBinding or WSHttpBinding)
you can find WSDL here -- http://srv.timemarker.org/Service.svc?wsdl

For GET
some example, until we translat documentation.

Make new timestamp, and download PGP-file
http://srv.timemarker.org/Service.svc/getStamp/file/{your_secret_hash}

Make new timestamp, and get it's number
http://srv.timemarker.org/Service.svc/getStamp/number/{your_secret_hash}

Download timestamp by number as PGP-file
http://srv.timemarker.org/Service.svc/download/stamp/file/{number}

Get timestamp by number as string
http://srv.timemarker.org/Service.svc/download/stamp/string/{number}


WARNING: while testing URL and WSDL can change. When testing finish we
will have stable API.

Thanks and heppy new year!
From Russia with love.
Reply all
Reply to author
Forward
0 new messages