full diff

at.happyproto.server.updateInstance

happyproto.at +4 −0
From
bafyreidw3sxpysd75nyxufdrscolgdmzy73uhbuxg3faxat2kd6t3wkuhy indexed 2026-10-19 18:20 UTC View this version
To
bafyreieqbsespvyam6dvtlicwjii2xcmd7qlze2laan3qmdad4jmotp53q indexed 2026-10-30 19:11 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "Move one of the caller's instances to another plan or HappyView release, and start a job that follows the change. Customers only.",
66 "errors": [
77 {
88 "description": "This endpoint requires an authenticated caller.",
99 "name": "AuthRequired"
1010 },
1111 {
1212 "description": "The caller is not a HappyProto customer, or the provisioner refused them.",
1313 "name": "Forbidden"
1414 },
1515 {
1616 "description": "id or idempotencyKey is missing or not a UUID, or neither plan nor version is given.",
1717 "name": "InvalidRequest"
1818 },
1919 {
2020 "description": "No such instance, or it is not the caller's. The two are indistinguishable.",
2121 "name": "NotFound"
2222 },
2323 {
2424 "description": "Passed through from the provisioner: it reserves slugs by configuration as well.",
2525 "name": "InvalidSlug"
2626 },
2727 {
2828 "description": "Passed through from the provisioner.",
2929 "name": "SlugTaken"
3030 },
3131 {
3232 "description": "Passed through from the provisioner.",
3333 "name": "NotEntitled"
3434 },
3535 {
3636 "description": "Passed through from the provisioner.",
3737 "name": "InstanceLimit"
3838 },
3939 {
4040 "description": "Passed through from the provisioner.",
4141 "name": "NoCapacity"
4242 },
4343 {
44 "description": "The instance holds more data than the chosen plan's disk would leave room for. Passed through from the provisioner with how much it holds; free some space or choose a larger plan. The change's job can also fail with this code, when the host finds it at apply time.",
45 "name": "PlanTooSmall"
46 },
47 {
4448 "description": "Passed through from the provisioner: the instance is already changing, or a request with this idempotencyKey is still running.",
4549 "name": "OperationInProgress"
4650 },
4751 {
4852 "description": "The provisioner is unreachable, not configured, or answered with an error it does not explain to callers, or the job could not be started.",
4953 "name": "Upstream"
5054 }
5155 ],
5256 "input": {
5357 "encoding": "application/json",
5458 "schema": {
5559 "properties": {
5660 "id": {
5761 "description": "The instance's UUID.",
5862 "type": "string"
5963 },
6064 "idempotencyKey": {
6165 "description": "A UUID the client generates once per intended change and resends on every retry of it, so a retry gets the original reply instead of acting twice.",
6266 "type": "string"
6367 },
6468 "plan": {
6569 "description": "The plan's id, from at.happyproto.server.listPlans.",
6670 "type": "string"
6771 },
6872 "version": {
6973 "description": "The HappyView release to run.",
7074 "type": "string"
7175 }
7276 },
7377 "required": [
7478 "id",
7579 "idempotencyKey"
7680 ],
7781 "type": "object"
7882 }
7983 },
8084 "output": {
8185 "encoding": "application/json",
8286 "schema": {
8387 "properties": {
8488 "jobId": {
8589 "description": "The background job following the change. Poll it with at.happyproto.server.getJob.",
8690 "type": "string"
8791 }
8892 },
8993 "required": [
9094 "jobId"
9195 ],
9296 "type": "object"
9397 }
9498 },
9599 "type": "procedure"
96100 }
97101 },
98102 "id": "at.happyproto.server.updateInstance",
99103 "lexicon": 1
100104}

Compare other versions