Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Note: These operations are RESTlike to be easy to call but not to have the expense and limitations of strict RESTful, so that the APIs are easy to understand and access, and not bound to a particular implementation's model. Authentication is at the HTTP layer and not discussed here.

This document assumes JSON, however XML-based documents are easy to envision.

Basically the thought is there is a direct translation between the RPC spec and the web service spec

hasMember

Determine if a subject is a member of a group.

Request Format

Method

Doesnt matter (probably GET or POST)

URL

/fifer/groupHasMember/groupLookup_groupUri/<groupUri>/subjectLookup_subjectIdOrIdentifier/<memberId>[?immediacy=<immediacy>]

URL alternate

/fifer/groupHasMember?groupLookup_groupUri=<groupUri>&subjectLookup_subjectIdOrIdentifier=<memberId>[&immediacy=<immediacy>]

Request Body

None

Response Format

HTTP Status

Response Body

Description

200 OK

SubjectID Document would mimic the RPC response

{groupHasMemberResponse: {
  hasMember: true,
  responseMetadata: {
    serverType: "FIFER Java",
    requestId: "1234567890abcdef1234567890",
    serverVersion: "1.0.0.0",
    protocolVersion: "1.0.0.0",
    success: true,
    resultCode: "SUCCESS_HAS_IMMEDIATE"
    serverMillis: 345
    }
  }
}

Member Found

  • No labels