You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: "Register api_key and api_secret in api_keys table for developer apps created via entity manager transactions. Use when the client sends raw ManageEntity tx instead of POST /developer-apps. Inserts with rps=10, rpm=500000. Requires the app to exist in developer_apps and belong to the authenticated user."
Register api_key and api_secret in api_keys table for developer apps created via entity manager transactions. Use when the client sends raw ManageEntity tx instead of POST /developer-apps. Inserts with rps=10, rpm=500000. Requires the app to exist in developer_apps and belong to the authenticated user.
40
+
41
+
<Heading
42
+
id={"request"}
43
+
as={"h2"}
44
+
className={"openapi-tabs__heading"}
45
+
children={"Request"}
46
+
>
47
+
</Heading>
48
+
49
+
<ParamsDetails
50
+
parameters={[{"name":"user_id","in":"query","description":"The user ID of the user who owns the developer app","required":true,"schema":{"type":"string"}},{"name":"address","in":"path","description":"Developer app address (API key)","required":true,"schema":{"type":"string"}}]}
51
+
>
52
+
53
+
</ParamsDetails>
54
+
55
+
<RequestSchema
56
+
title={"Body"}
57
+
body={{"x-codegen-request-body-name":"metadata","required":true,"content":{"application/json":{"schema":{"type":"object","required":["api_secret"],"properties":{"api_secret":{"type":"string","description":"The API secret (private key hex) for the developer app"}},"title":"register_api_key_request_body"}}}}}
58
+
>
59
+
60
+
</RequestSchema>
61
+
62
+
<StatusCodes
63
+
id={undefined}
64
+
label={undefined}
65
+
responses={{"200":{"description":"API key registered successfully","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","description":"Whether the registration was successful"}},"title":"register_api_key_response"}}}},"400":{"description":"Bad request (api_secret required)","content":{}},"401":{"description":"Unauthorized","content":{}},"404":{"description":"Developer app not found","content":{}},"500":{"description":"Server error","content":{}}}}
0 commit comments