attachment_flags: Get Flags in Attachment Metadata

View source: R/attachments.R

attachment_flagsR Documentation

Get Flags in Attachment Metadata

Description

Returns the flags embedded in the metadata related to a single attachment of a bug report. By default, the R bug tracker is queried.

Usage

attachment_flags(
  attachment_id,
  base_url = "https://bugs.r-project.org/bugzilla3/rest/bug/"
)

Arguments

attachment_id

ID of one attachment (numeric or character).

base_url

URL to Bugzilla REST API (bug history). Defaults to R Bugzilla.

Value

a tibble, with rows representing flags and the following columns representing their properties:

id

ID of flag (integer).

name

Name of flag (character).

type_id

Type ID (integer).

creation_date

Date and time of creation (POSIXct).

modification_date

Date and time of last modification (POSIXct).

status

Status of flag (character).

setter

Who created or last modified the flag? (character)

requestee

The account requested to handle the flag (character). Empty if not set.

See Also

attachment_info

Examples

## Not run: 
freezilla <- "https://bugs.freebsd.org/bugzilla/rest/bug/"
flags_freebsd <- attachment_flags(183342, base_url = freezilla)
print(flags_freebsd)

## End(Not run)

mvkorpel/bugtractr documentation built on Aug. 31, 2022, 1:16 p.m.