attachment_info | R Documentation |
Returns the metadata related to the attachments of a single bug or any single attachment selected by its ID. By default, the R bug tracker is queried.
attachment_info( bug_id, attachment_id = NULL, obsolete = FALSE, patch_only = FALSE, base_url = "https://bugs.r-project.org/bugzilla3/rest/bug/" )
bug_id |
ID of one bug (numeric or |
attachment_id |
Optional ID of one attachment (numeric or
|
obsolete |
Return information about attachments marked as obsolete?
A |
patch_only |
Only return information about files marked as a patch?
A |
base_url |
URL to Bugzilla REST API (bug history). Defaults to R Bugzilla. |
a tibble
, with rows representing attachments
and the following columns representing their properties:
bug_id |
Bug |
id |
Attachment |
summary |
Short description of attachment ( |
file_name |
Filename of attachment ( |
size |
Size of attachment in bytes ( |
content_type |
MIME type of attachment ( |
creator |
Who created it? ( |
creation_time |
Date and time of creation ( |
last_change_time |
Date and time of last change ( |
is_patch |
Is it a patch? ( |
is_obsolete |
Is it obsolete? ( |
is_private |
Is it private? ( |
any_flags |
Does the attachment have any flags? ( |
attachment_flags
## Not run: att17398b <- attachment_info(17398) att2326a <- attachment_info(attachment_id = 2326) identical(att17398b[att17398b$id == 2326, ], att2326a) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.