Dela via


PurviewGlossaries.GetGlossaryCategory(String, RequestContext) Method

Definition

Get specific glossary category by its GUID.

public virtual Azure.Response GetGlossaryCategory (string categoryGuid, Azure.RequestContext context = default);
abstract member GetGlossaryCategory : string * Azure.RequestContext -> Azure.Response
override this.GetGlossaryCategory : string * Azure.RequestContext -> Azure.Response
Public Overridable Function GetGlossaryCategory (categoryGuid As String, Optional context As RequestContext = Nothing) As Response

Parameters

categoryGuid
String

The globally unique identifier of the category.

context
RequestContext

The request context, which can override default behaviors on the request on a per-call basis.

Returns

Exceptions

categoryGuid is null.

categoryGuid is an empty string, and was expected to be non-empty.

Remarks

Schema for Response Body:

{
              classifications: [
                {
                  attributes: Dictionary<string, AnyObject>,
                  typeName: string,
                  lastModifiedTS: string,
                  entityGuid: string,
                  entityStatus: "ACTIVE" | "DELETED",
                  removePropagationsOnEntityDelete: boolean,
                  validityPeriods: [
                    {
                      endTime: string,
                      startTime: string,
                      timeZone: string
                    }
                  ],
                  source: string,
                  sourceDetails: Dictionary<string, AnyObject>
                }
              ],
              longDescription: string,
              name: string,
              qualifiedName: string,
              shortDescription: string,
              lastModifiedTS: string,
              guid: string,
              anchor: {
                displayText: string,
                glossaryGuid: string,
                relationGuid: string
              },
              childrenCategories: [
                {
                  categoryGuid: string,
                  description: string,
                  displayText: string,
                  parentCategoryGuid: string,
                  relationGuid: string
                }
              ],
              parentCategory: AtlasRelatedCategoryHeader,
              terms: [
                {
                  description: string,
                  displayText: string,
                  expression: string,
                  relationGuid: string,
                  source: string,
                  status: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER",
                  steward: string,
                  termGuid: string
                }
              ]
            }

Schema for Response Error:

{
              requestId: string,
              errorCode: string,
              errorMessage: string
            }

Applies to