API Response: Difference between revisions

From Club Penguin Protocol
Jump to navigation Jump to search
imported>Jamie
Created page with "Once the server has checked the API version against its own version, it sends a response to show whether or not it is compatible. Usually, we would receive an XML Packet|XML..."
 
imported>Pie flavor
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Once the server has checked the API version against its own version, it sends a response to show whether or not it is compatible. Usually, we would receive an [[XML Packet|XML Packets]] with the action <code>apiOK</code>, or <code>apiKO</code> if there is a problem, i.e. a critical incompatibility between versions.
Once the server has checked the API version against its own version, it sends a response to show whether or not it is compatible. Usually, we would receive an [[XML Packets|XML Packet]] with the action <code>apiOK</code>, or <code>apiKO</code> if there is a problem, i.e. a critical incompatibility between versions.


This looks like:
This looks like:

Latest revision as of 05:53, 12 April 2018

Once the server has checked the API version against its own version, it sends a response to show whether or not it is compatible. Usually, we would receive an XML Packet with the action apiOK, or apiKO if there is a problem, i.e. a critical incompatibility between versions.

This looks like:

<msg t='sys'><body action='apiOK' r='0'></body></msg>

Packet Information

Action apiOK
XML Node -


Action apiKO
XML Node -