AppyWay · Capability

AppyWay Traffic Data API — Authorities

AppyWay Traffic Data API — Authorities. 5 operations. Lead operation: AppyWay Gets the basic authority information for all authorities that you are entitled to access. Self-contained Naftiko capability covering one Appyway business surface.

Run with Naftiko AppywayAuthorities

What You Can Do

GET
Getauthoritiesgetall — AppyWay Gets the basic authority information for all authorities that you are entitled to access
/v1/authorities/getall
GET
Getauthoritiesgetfullbyslug — AppyWay Get Full Authority By Slug
/v1/authorities/getfullbyslug
POST
Postfetchallauthorities — AppyWay Fetch basic authority information for all authorities that you are entitled to access
/v1/fetchallauthorities
POST
Postfetchfullauthoritybyslug — AppyWay Fetch the basic authority information by slug
/v1/fetchfullauthoritybyslug
POST
Postfetchfullauthorityinfobyslug — AppyWay Fetch Full Authority By Slug
/v1/fetchfullauthorityinfobyslug

MCP Tools

appyway-gets-basic-authority-information

AppyWay Gets the basic authority information for all authorities that you are entitled to access

read-only idempotent
appyway-get-full-authority-slug

AppyWay Get Full Authority By Slug

read-only idempotent
appyway-fetch-basic-authority-information

AppyWay Fetch basic authority information for all authorities that you are entitled to access

read-only
appyway-fetch-basic-authority-information-2

AppyWay Fetch the basic authority information by slug

read-only
appyway-fetch-full-authority-slug

AppyWay Fetch Full Authority By Slug

read-only

Capability Spec

traffic-data-authorities.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: AppyWay Traffic Data API — Authorities
  description: 'AppyWay Traffic Data API — Authorities. 5 operations. Lead operation: AppyWay Gets the basic authority information
    for all authorities that you are entitled to access. Self-contained Naftiko capability covering one Appyway business surface.'
  tags:
  - Appyway
  - Authorities
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    APPYWAY_API_KEY: APPYWAY_API_KEY
capability:
  consumes:
  - type: http
    namespace: traffic-data-authorities
    baseUri: https://api.appyway.com/v1/traffic-data
    description: AppyWay Traffic Data API — Authorities business capability. Self-contained, no shared references.
    resources:
    - name: authorities-getAll
      path: /authorities/getAll
      operations:
      - name: getauthoritiesgetall
        method: GET
        description: AppyWay Gets the basic authority information for all authorities that you are entitled to access
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: authorities-getFullBySlug
      path: /authorities/getFullBySlug
      operations:
      - name: getauthoritiesgetfullbyslug
        method: GET
        description: AppyWay Get Full Authority By Slug
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: slug
          in: query
          type: string
          description: The name of the authority. You can find this by making a request to the getAll endpoint
        - name: maxDate
          in: query
          type: string
          description: Format - date-time (as date-time in RFC3339). The date at which you wish to view the restrictions
    - name: fetchAllAuthorities
      path: /fetchAllAuthorities
      operations:
      - name: postfetchallauthorities
        method: POST
        description: AppyWay Fetch basic authority information for all authorities that you are entitled to access
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: fetchFullAuthorityBySlug
      path: /fetchFullAuthorityBySlug
      operations:
      - name: postfetchfullauthoritybyslug
        method: POST
        description: AppyWay Fetch the basic authority information by slug
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: fetchFullAuthorityInfoBySlug
      path: /fetchFullAuthorityInfoBySlug
      operations:
      - name: postfetchfullauthorityinfobyslug
        method: POST
        description: AppyWay Fetch Full Authority By Slug
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    authentication:
      type: bearer
      token: '{{env.APPYWAY_API_KEY}}'
  exposes:
  - type: rest
    namespace: traffic-data-authorities-rest
    port: 8080
    description: REST adapter for AppyWay Traffic Data API — Authorities. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/authorities/getall
      name: authorities-getall
      description: REST surface for authorities-getAll.
      operations:
      - method: GET
        name: getauthoritiesgetall
        description: AppyWay Gets the basic authority information for all authorities that you are entitled to access
        call: traffic-data-authorities.getauthoritiesgetall
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/authorities/getfullbyslug
      name: authorities-getfullbyslug
      description: REST surface for authorities-getFullBySlug.
      operations:
      - method: GET
        name: getauthoritiesgetfullbyslug
        description: AppyWay Get Full Authority By Slug
        call: traffic-data-authorities.getauthoritiesgetfullbyslug
        with:
          slug: rest.slug
          maxDate: rest.maxDate
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/fetchallauthorities
      name: fetchallauthorities
      description: REST surface for fetchAllAuthorities.
      operations:
      - method: POST
        name: postfetchallauthorities
        description: AppyWay Fetch basic authority information for all authorities that you are entitled to access
        call: traffic-data-authorities.postfetchallauthorities
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/fetchfullauthoritybyslug
      name: fetchfullauthoritybyslug
      description: REST surface for fetchFullAuthorityBySlug.
      operations:
      - method: POST
        name: postfetchfullauthoritybyslug
        description: AppyWay Fetch the basic authority information by slug
        call: traffic-data-authorities.postfetchfullauthoritybyslug
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/fetchfullauthorityinfobyslug
      name: fetchfullauthorityinfobyslug
      description: REST surface for fetchFullAuthorityInfoBySlug.
      operations:
      - method: POST
        name: postfetchfullauthorityinfobyslug
        description: AppyWay Fetch Full Authority By Slug
        call: traffic-data-authorities.postfetchfullauthorityinfobyslug
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: traffic-data-authorities-mcp
    port: 9090
    transport: http
    description: MCP adapter for AppyWay Traffic Data API — Authorities. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: appyway-gets-basic-authority-information
      description: AppyWay Gets the basic authority information for all authorities that you are entitled to access
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: traffic-data-authorities.getauthoritiesgetall
      outputParameters:
      - type: object
        mapping: $.
    - name: appyway-get-full-authority-slug
      description: AppyWay Get Full Authority By Slug
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: traffic-data-authorities.getauthoritiesgetfullbyslug
      with:
        slug: tools.slug
        maxDate: tools.maxDate
      outputParameters:
      - type: object
        mapping: $.
    - name: appyway-fetch-basic-authority-information
      description: AppyWay Fetch basic authority information for all authorities that you are entitled to access
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: traffic-data-authorities.postfetchallauthorities
      outputParameters:
      - type: object
        mapping: $.
    - name: appyway-fetch-basic-authority-information-2
      description: AppyWay Fetch the basic authority information by slug
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: traffic-data-authorities.postfetchfullauthoritybyslug
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: appyway-fetch-full-authority-slug
      description: AppyWay Fetch Full Authority By Slug
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: traffic-data-authorities.postfetchfullauthorityinfobyslug
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.