Skip to content

Latest commit

 

History

History
161 lines (105 loc) · 2.44 KB

registry.md

File metadata and controls

161 lines (105 loc) · 2.44 KB

Registry

/registry/registerComponent

/registry/registerSession

/registry/unregisterComponent

/registry/unregisterSession

  • URL

    /registry/registerComponent

  • Method:

    POST

  • Data Params

    Media type: application/json

    Parameter Type Required
    id String Yes
    key String Yes
  • Success Response:

    • Code: 200

    • Content: { "result" : "true" }

  • Sample Call:

    POST /registry/registerComponent
    Content-Type: application/json
    Accept: application/json
    
    {
      "id" : "...",
      "key" : "..."
    }

  • URL

    /registry/registerSession

  • Method:

    POST

  • Data Params

    Media type: application/json

    Parameter Type Required
    sessionId String Yes
    transactionId String Yes
  • Success Response:

    • Code: 200

    • Content: { "result" : "true" }

  • Sample Call:

    POST /registry/registerSession
    Content-Type: application/json
    Accept: application/json
    
    {
      "sessionid" : "...",
      "transactionId" : "..."
    }

  • URL

    /registry/unregisterComponent

  • Method:

    POST

  • Data Params

    Media type: application/json

    Parameter Type Required
    id String Yes
    key String Yes
  • Success Response:

    • Code: 200

    • Content: { "result" : "true" }

  • Sample Call:

    POST /registry/unregisterComponent
    Content-Type: application/json
    Accept: application/json
            
    {
      "id" : "...",
      "key" : "..."
    }

  • URL

    /registry/unregisterSession

  • Method:

    POST

  • Data Params

    Media type: application/json

    Parameter Type Required
    sessionId String Yes
    transactionId String Yes
  • Success Response:

    • Code: 200

    • Content: { "result" : "true" }

  • Sample Call:

    POST /registry/unregisterSession
    Content-Type: application/json
    Accept: application/json
    
    {
      "sessionid" : "...",
      "transactionId" : "..."
    }