Get Artifact Type

/api/v1/projects/{projectId}/metadata/artifactTypes/{artifactTypeId}?richtextasplain={richtextasplain}&inlinecss={inlinecss}

Description

Retrieves all artifact type objects from a project.

Note: The IsUsedInThisProject, StandardPropertyTypeId, and StandardArtifactTypeId elements in the response body are only returned when using Blueprint 7.3 and later.

URL
Structure

[Blueprint_URI]/api/v1/projects/{ProjectId}/metadata/artifacttypes/{ArtifactTypeId}

  • ProjectId: The ID of the project that contains the artifacts you want to get.
  • ArtifactTypeId: The ID of the artifact types you want to get.

Supported Methods

Request URI Parameters

  • RichTextAsPlain (optional): Defines whether or not to retrieve all rich-text properties as Plain Text instead of HTML. This parameter can be set to true or false. The default is false if not specified. The default is true if the parameter is included in the URI with no given value.

  • InlineCSS (optional): Defines whether or not to retrieve all rich-text properties with locally defined or inline styles. This parameter can be set to true or false. The default is false if not specified. The default is true if the parameter is included in the URI with no given value. When this parameter is set to false, rich-text properties return internal styles that are defined within the <head> section of the HTML.

    Note: This parameter is supported in Blueprint 6.1 and later.

HTTP status codes

Examples

ClosedXML Example

ClosedJSON Example