קבל את הגרסה המצוינת שנוצרה עבור האתר שצוין.
זה יכול לכלול גרסאות שנוצרו עבור ערוץ ברירת המחדל live
או עבור כל ערוצי תצוגה מקדימה פעילים עבור האתר שצוין.
בקשת HTTP
GET https://firebasehosting.googleapis.com/v1beta1/{name=sites/*/versions/*}
כתובת האתר משתמשת בתחביר GRPC Transcoding .
פרמטרים של נתיב
פרמטרים | |
---|---|
name | נדרש. שם המשאב המלא עבור הגרסה, בפורמט: |
גוף הבקשה
גוף הבקשה חייב להיות ריק.
גוף תגובה
אם זה מצליח, גוף התגובה מכיל מופע של Version
.
היקפי הרשאה
דורש אחד מהיקפי OAuth הבאים:
-
https://www.googleapis.com/auth/firebase.hosting.readonly
-
https://www.googleapis.com/auth/firebase.hosting
-
https://www.googleapis.com/auth/firebase.readonly
-
https://www.googleapis.com/auth/firebase
-
https://www.googleapis.com/auth/cloud-platform.read-only
-
https://www.googleapis.com/auth/cloud-platform
למידע נוסף, עיין בסקירת האימות .