2.05.2.05 - 2.05 - Get Starred State - Teradata Listener

Teradata® Listener™ User Guide

prodname
Teradata Listener
vrm_release
2.05
category
User Guide
featnum
B035-2910-039K

Get the starred state for a specific source based on the current user token.

Definition

GET https://CLUSTER.DOMAIN/listener/appservices/sources/{source_id}/star HTTP/1.1

Example Request

curl \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer TOKEN" \
  -X  GET \
  -i \
  https://CLUSTER.DOMAIN/listener/appservices/sources/758fbda4-accc-4f90-8f09-cc0a164c8c28/star

Example Response

HTTP/1.1 200 OK
Content-Type: application/json
{
  "starred": true
}

Response Codes

Code Description
200 Sources successfully returned.
401 Authorization header not found.