Skip to contents

With the given API token, will retrieve the meta-data connected to a form.

Usage

ns_get_meta(form_id)

Arguments

form_id

integer. Number of the form to retrieve

Value

list of class ns_meta_data

Examples

ns_get_meta(123823)
#> $form_id
#> [1] 123823
#> 
#> $title
#> [1] "API test form"
#> 
#> $canEditForm
#> [1] TRUE
#> 
#> $isCodebookValid
#> [1] TRUE
#> 
#> $hasSubmissions
#> [1] TRUE
#> 
#> $modifiedDate
#> [1] "2025-08-19T21:41:06"
#> 
#> $modifiedBy
#> $modifiedBy$personId
#> [1] 3439404
#> 
#> $modifiedBy$username
#> [1] "ccda25ce-8256-4c6f-ba71-7a4357dc6caf@apiclient"
#> 
#> $modifiedBy$name
#> [1] "nettskjemar"
#> 
#> $modifiedBy$email
#> [1] "athanasm@uio.no"
#> 
#> $modifiedBy$type
#> [1] "API_CLIENT"
#> 
#> 
#> $isOpen
#> [1] FALSE
#> 
#> $deliveryDestination
#> [1] "DATABASE"
#> 
#> $projectName
#> NULL
#> 
#> $numberOfPostponedSubmissions
#> [1] 0
#> 
#> $numberOfSubmissions
#> [1] 3
#> 
#> $numberOfInvitations
#> [1] 0
#> 
#> $editorsContactEmail
#> [1] "a.m.mowinckel@psykologi.uio.no"
#> 
#> $editorsContactUrl
#> NULL
#> 
#> $lastSubmissionDate
#> [1] "2023-06-01T20:59:50"
#> 
#> $markedForDeletionDate
#> NULL
#> 
#> $deleteDate
#> NULL
#> 
#> $receiptText
#> NULL
#> 
#> attr(,"class")
#> [1] "ns_meta" "list"