getSchema
inline suspend fun VerifiedPermissionsClient.getSchema(crossinline block: GetSchemaRequest.Builder.() -> Unit): GetSchemaResponse
Retrieve the details for the specified schema in the specified policy store.
Samples
fun main() {
//sampleStart
// The following example retrieves the current schema stored in the specified policy store. Note The
// JSON in the parameters of this operation are strings that can contain embedded quotation marks
// (") within the outermost quotation mark pair. This requires that you stringify the JSON object by preceding all embedded quotation marks with a backslash character ( \" ) and combining all lines into a single text line with no line breaks. Example strings might be
// displayed wrapped across multiple lines here for readability, but the operation requires the parameters be
// submitted as single line strings.
val resp = verifiedPermissionsClient.getSchema {
policyStoreId = "C7v5xMplfFH3i3e4Jrzb1a"
}
//sampleEnd
}