Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


EPPN Service Information
Service NameEPPN Lookup Service
Service Version2.0

Service Description


Lookup EPPN to CCCID mappings used by the CCC Identity Provider Proxy.

SwaggerUI Docs: https://profile-eppn.ci.cccmypath.org/eppn/swagger-ui.html#/eppn-controller-v-2

Service UsageThis service is intended for colleges that would like to be able to retrieve the CCCIDs being associated with EPPNs that are routed through the CCC IDP Proxy.
Release Notes
Valid Period4/15/2017 -
Service Location

CI: https://profile-eppn.ci.cccmypath.org/eppn/*

TEST: https://profile-eppn.test.cccmypath.org/eppn/*

PILOT: https://profile-eppn.pilot.cccmypath.org/eppn/*

PROD: https://profile-eppn.cccmypath.org/eppn/*


Service Operation: Get EPPN
Name/eppn/eppn-mappings/{EPPN}
DescriptionLookup the mapping for a single EPPN
Preconditions

Caller must have have a valid OpenID token

Caller clientId must match the domain of the requested EPPN. (ie. If the eppn is jdoe@santarosa.edu, the clientId for the caller must be "santarosa.edu")


Post-conditions
Message Exchange Pattern

Request is received

EPPN mapping is looked up

Mapping is returned

Input


Parameters
EPPNDescriptionThe College EPPN to lookup
TypePath Parameter
RequiredYes
DefaultN/A



Output
DescriptionEPPN Mapping JSON
Data Type


Code Block
languagejs
{
  "authSource": "string",
  "cccId": "string",
  "createTime": "2017-03-24T22:47:08.089Z",
  "downloaded": boolean,
  "eppn": "string"
}


Fault - Unauthorized


Faults
UnauthorizedDescriptionCalling service has not been authenticated
Http Status Code401
Additional Information
ForbiddenDescriptionCalling service has been authenticated, but does not have permissions to make this request
HTTP Status Code403
Additional Information



Service Operation: Get Mappings Created Since
Name/eppn/eppn-mappings/since/{DATE}
Description

Lookup all mappings that have an authsource matching the clientId of the caller that have been entered since DATE.

Preconditions

Caller must have have a valid OpenID token

DATE Must be in YYYY-MM-DD format


Post-conditions
Message Exchange Pattern

Request is received

EPPN mappings are looked up

List of mappings is returned

Input


Parameters
DATEDescriptionLookup all EPPN mappings for the given college since DATE (inclusive). Date must be in YYYY-MM-DD format.
TypePath Parameter
RequiredYes
DefaultN/A
pageSizeDescriptionMaximum number of mappings to return per request
TypeQuery Parameter
RequiredNo
Default1000
pageNumberDescription0 based index of the page of records to retrieve
TypeQuery Parameter
RequiredNo
Default0


Output
DescriptionA page of EPPN mappings
Data Type


Code Block
languagejs
{
  "data": [
    {
      "authSource": "string",
      "cccId": "string",
      "createTime": "2017-03-24T22:58:08.904Z",
      "downloaded": boolean,
      "eppn": "string"
    }
  ],
  "pageNumber": integer,
  "pageSize": integer,
  "totalElements": integer
}


Faults


Faults
UnauthorizedDescriptionCalling service has not been authenticated
Http Status Code401
Additional Information
ForbiddenDescriptionCalling service has been authenticated, but does not have permissions to make this request
HTTP Status Code403
Additional Information




Service Operation: Get New Mappings
Name/eppn/eppn-mappings/new-mappings
Description

Lookup all mappings that have an authsource matching the clientId of the caller that have

been entered since DATE.

not previously been marked as downloaded (See: Service Operation: Mark downloaded)

Preconditions

Caller must have have a valid OpenID token

DATE Must be in YYYY-MM-DD format

Post-conditions
Message Exchange Pattern

Request is received

EPPN mappings are looked up

List of mappings is returned

Input


Parameters
DATEDescriptionLookup all EPPN mappings for the given college since DATE (inclusive). Date must be in YYYY-MM-DD format.TypePath ParameterRequiredYesDefaultN/A
pageSizeDescriptionMaximum number of mappings to return per request
TypeQuery Parameter
RequiredNo
Default1000
pageNumberDescription0 based index of the page of records to retrieve
TypeQuery Parameter
RequiredNo
Default0


Output

DescriptionA page of EPPN mappings
Data Type


Code Block
languagejs
{
  "data": [
    {
      "authSource": "string",
      "cccId": "string",
      "createTime": "2017-03-24T22:58:08.904Z",
      "downloaded": boolean,
      "eppn": "string"
    }
  ],
  "pageNumber": integer,
  "pageSize": integer,
  "totalElements": integer
}


Faults


Faults
UnauthorizedDescriptionCalling service has not been authenticated
Http Status Code401
Additional Information
ForbiddenDescriptionCalling service has been authenticated, but does not have permissions to make this request
HTTP Status Code403
Additional Information