BinaryTransparencyArtifacts
GET /v22.0/binary_transparency_artifacts HTTP/1.1
Host: graph.facebook.com
/* PHP SDK v5.0.0 */
/* make the API call */
try {
// Returns a `Facebook\FacebookResponse` object
$response = $fb->get(
'/binary_transparency_artifacts',
'{access-token}'
);
} catch(Facebook\Exceptions\FacebookResponseException $e) {
echo 'Graph returned an error: ' . $e->getMessage();
exit;
} catch(Facebook\Exceptions\FacebookSDKException $e) {
echo 'Facebook SDK returned an error: ' . $e->getMessage();
exit;
}
$graphNode = $response->getGraphNode();
/* handle the result */
/* make the API call */
FB.api(
"/binary_transparency_artifacts",
function (response) {
if (response && !response.error) {
/* handle the result */
}
}
);
/* make the API call */
new GraphRequest(
AccessToken.getCurrentAccessToken(),
"/binary_transparency_artifacts",
null,
HttpMethod.GET,
new GraphRequest.Callback() {
public void onCompleted(GraphResponse response) {
/* handle the result */
}
}
).executeAsync();
/* make the API call */
FBSDKGraphRequest *request = [[FBSDKGraphRequest alloc]
initWithGraphPath:@"/binary_transparency_artifacts"
parameters:params
HTTPMethod:@"GET"];
[request startWithCompletionHandler:^(FBSDKGraphRequestConnection *connection,
id result,
NSError *error) {
// Handle the result
}];
Parameter | Description |
---|---|
digest string | digest Required |
namespaceName enum {META_ENCRYPTED_BACKUPS_FLEET_KEYS_V1, TEST_BINARY_TRANSPARENCY, PAPAYA_CVM, PAPAYA_CVM_TEST, USECASE_ARTIFACT, TEST_CLOUDFLARE_NAMESPACE, TEST_CLOUDFLARE_NAMESPACE_1, TEST_CLOUDFLARE_NAMESPACE_2, TEST_WEB_BINARY_TRANSPARENCY, TEST_NAMESPACE_1, TEST_NAMESPACE_2, TEST_NAMESPACE_3, TEST_NAMESPACE_4, TEST_PAPAYA_CVM, TEST_PRIVATE_NAMESPACE, TEST_KEY_OTA_1, PC_PREDICTOR_CVM, PC_PREDICTOR_LLM, PC_PREDICTOR_SANDBOX, PC_PREDICTOR_CONTAINER, PC_PREDICTOR_CACHE, PC_ORCHESTRATOR_CVM, PC_ORCHESTRATOR_PROMPT, PC_ORCHESTRATOR_SANDBOX, PC_ORCHESTRATOR_CONTAINER, PC_REVOCATION_LIST, TEST_PC_VCEK_CERT, INVALID} | namespaceName Required |
Reading from this edge will return a JSON formatted result:
{ "
data
": [], "paging
": {} }
data
paging
Error | Description |
---|---|
100 | Invalid parameter |