{"name":"site_firebase_subdomain_connect","title":"Подключить адрес web.app","section":"Адреса и поисковые системы","mode":"write","url":"/tools/site_firebase_subdomain_connect","blurb":"Резервирует выбранный адрес Firebase Hosting и настраивает размещение.","aliases":"","kind":"Инструмент","examples":[{"label":"Рабочая задача","prompt":"Подключи ранее выбранное свободное имя web.app к этому сайту. Проверь состояние нового адреса после настройки.","check":"Резервирует выбранный адрес Firebase Hosting и настраивает размещение."},{"label":"Подготовить запрос","prompt":"Помоги подготовить вызов site_firebase_subdomain_connect для задачи «Подключить адрес web.app». Разбери expectedRevision, subdomain и покажи, откуда взять точные значения для выбранного объекта. Остановись на черновике запроса.","check":"Сверить значения со схемой до вызова."},{"label":"После сбоя","prompt":"При выполнении «Подключить адрес web.app» связь прервалась после отправки. Для site_firebase_subdomain_connect проверь исходный ключ операции и текущее состояние объекта перед решением о повторе.","check":"Сопоставить результат с исходной операцией."}],"inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"siteId":{"type":"string","pattern":"^[A-Za-z0-9_~:@+.-]{1,128}$"},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"idempotencyKey":{"type":"string","pattern":"^[A-Za-z0-9_-]{8,128}$"},"subdomain":{"type":"string","minLength":1,"maxLength":30}},"required":["siteId","expectedRevision","idempotencyKey","subdomain"],"additionalProperties":false},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"domain":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/$defs/__schema0"}},"availability":{"type":"object","properties":{"subdomain":{"type":"string"},"hostname":{"type":"string"},"url":{"type":"string","format":"uri"},"available":{"type":"boolean"},"state":{"type":"string","enum":["available","taken","reserved","already_connected","quota_exhausted"]},"hosting":{"type":"object","properties":{"used":{"type":"integer","minimum":0,"maximum":9007199254740991},"limit":{"type":"number","const":36},"remaining":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["used","limit","remaining"],"additionalProperties":false}},"required":["subdomain","hostname","url","available","state","hosting"],"additionalProperties":false},"nextAction":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/$defs/__schema0"}}},"required":["domain","availability","nextAction"],"additionalProperties":false,"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/$defs/__schema0"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/$defs/__schema0"}}]}}}}