Get API Mapping
  • 04 Jul 2024
  • 1 Minute to read
  • Dark
    Light
  • PDF

Get API Mapping

  • Dark
    Light
  • PDF

Article summary

Get
/internal-assets/4.0/api-mapping/{envId}/{assetTemplateId}/{attributeKey}

Get the list of API Mappings for the specified Asset Template ID and Attribute Key.

Notice

Accessing the APIs is through a dedicated domain/URL, according to your PlainID Tenant Location
  • United States (US) - `https://api.us1.plainid.io`
  • Canada (CA) - `https://api.ca1.plainid.io`
  • Europe (EU) - `https://api.eu1.plainid.io`
  • Local PAA - `https://api.plainid.local`


  • cURL Sample Guidelines

    In order for the relevant parameters to appear in the cURL sample, you can input the values in the interactive API console on the right. They will then appear in the cURL sample on the bottom of the page in the correct format.

    Security
    HTTP
    Type bearer

    For more details about Administration API Authentication, check out the Authentication APIs documentation. Provide your bearer token in the Authorization header when making requests to protected resources. Example: Authorization: Bearer 123

    Path parameters
    assetTemplateId
    stringRequired

    The Asset Template ID can be found under the Details tab of the relevant Asset Type.

    envId
    string (uuid) Required

    The Environment ID can be found under the Details Tab in the Environment Settings.

    attributeKey
    stringRequired

    To locate the Attribute Key, select the relevant Asset Type and click on Asset Attributes.

    Query parameters
    limit
    integer
    Maximum1000
    Minimum1
    Default"50"
    offset
    integer
    Minimum0
    Default"0"
    filter[applicationMatcherId]
    string

    Filter to apply on the Application Matcher ID.

    filter[applicationName]
    string

    Filter to apply on the Application Name.

    filter[applicationMatcherName]
    string

    Filter to apply on the Application Matcher Name.

    filter[source]
    string

    Filter to apply on the Source.

    filter[path]
    string

    Filter to apply on the Path.

    sort[tableName]
    string

    Sorting order for the Table Names.

    Valid values[ "ASC", "DESC" ]
    Responses
    200

    Successful operation

    Headers
    x-request-id
    string
    The ID of the request
    Expand All
    object

    Response object

    data
    Array of object (AttributeMapper)
    object
    Example{ "created_example": { "applicationMatcherId": "1e70c17a-78c3-4fd9-83f5-dbea8641147a", "applicationMatcherName": "matcher_name", "applicationName": "app_name", "assetTemplateId": "3fa85f64-5717-4562-b3fc-2c963f66aqw1", "attributeKey": "attribute_key", "envId": "3fa85f64-5717-4562-b3fc-2c963f66aop2", "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "path": "", "source": "BODY" } }
    applicationMatcherId
    string (uuid)
    applicationMatcherName
    string
    applicationName
    string
    assetTemplateId
    string
    attributeKey
    string
    envId
    string (uuid)
    id
    string (uuid)
    path
    string
    source
    string
    Valid values[ "BODY", "HEADER", "PATH", "QUERY" ]
    meta
    object (Meta)

    Response Meta

    limit
    integer

    Limit the number of records returned.

    Example50
    offset
    integer

    The starting point for return of records.

    Example0
    total
    integer

    Total number of records

    Example1
    401

    Unauthorized

    Headers
    x-request-id
    string
    The ID of the request
    Expand All
    object

    Response object

    errors
    Array of object (Error)
    object

    Error object

    args
    object
    code
    string
    id
    string
    message
    string
    name
    string
    status
    integer
    404

    Object not found

    Headers
    x-request-id
    string
    The ID of the request
    Expand All
    object

    Response object

    errors
    Array of object (Error)
    object

    Error object

    args
    object
    code
    string
    id
    string
    message
    string
    name
    string
    status
    integer
    500

    Internal Server Error

    Headers
    x-request-id
    string
    The ID of the request
    Expand All
    object

    Response object

    errors
    Array of object (Error)
    object

    Error object

    args
    object
    code
    string
    id
    string
    message
    string
    name
    string
    status
    integer

    Was this article helpful?