Quando registri un'API con l'hub API, crei e memorizzi un'entità che la rappresenta.
Chiamiamo questa entità risorsa API. Le risorse API archiviate nell'hub API sono disponibili per la ricerca e forniscono informazioni operative e descrittive dettagliate sull'API. Per saperne di più, consulta la panoramica delle risorse API.
Nella console Google Cloud, vai alla pagina API in Apigee API Hub.
Fai clic su Registra API. Viene visualizzato il modulo Registra un'API.
Nella sezione Dettagli generali del modulo, inserisci un nome visualizzato. Il nome visualizzato è semplicemente un nome a tua scelta che verrà visualizzato nell'interfaccia utente dopo la registrazione dell'API. Questo attributo è obbligatorio.
Fai clic su Continua.
Viene visualizzato il modulo Informazioni sul proprietario.
I campi delle informazioni sul proprietario sono facoltativi. Per il momento, lasciali vuoti e fai clic su Continua.
Viene visualizzato il modulo Dettagli aggiuntivi.
Nel campo Descrizione, inserisci una breve descrizione dell'API. La descrizione è un campo facoltativo.
Salta i campi rimanenti e fai clic su Continua.
Si apre il modulo Attributi definiti dall'utente.
Fornisci i valori per gli attributi che preferisci.
Se non sono presenti attributi, significa che non ne sono stati ancora creati.
Vedi Creare attributi definiti dall'utente.
Fai clic su Registrati.
Hai creato una risorsa API nell'hub API. Puoi sempre tornare a una risorsa API per modificarla in un secondo momento.
Visualizza i dettagli dell'API
Dopo aver registrato un'API, puoi visualizzarne i dettagli.
Nella console Google Cloud, vai alla pagina API in Apigee API Hub.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-09-04 UTC."],[[["\u003cp\u003eThis page explains how to register an API within Apigee API hub, which is applicable to both Apigee and Apigee hybrid.\u003c/p\u003e\n"],["\u003cp\u003eBefore registering an API, ensure that API hub has been provisioned in a Google Cloud project you have access to.\u003c/p\u003e\n"],["\u003cp\u003eRegistering an API in API hub involves creating an "API resource" entity, which stores descriptive and operational information, making it searchable.\u003c/p\u003e\n"],["\u003cp\u003eThe process includes providing a display name and optionally adding owner information, a description, and user-defined attributes to the API resource.\u003c/p\u003e\n"],["\u003cp\u003eAfter registering, you can view the API's details in the API hub by locating it in the registered APIs list and clicking on its name.\u003c/p\u003e\n"]]],[],null,["# Register an API\n\n*This page\napplies to **Apigee** and **Apigee hybrid**.*\n\nThis page shows you how to register an API in API hub.\n\nBefore you begin\n----------------\n\n1. API hub must be provisioned in a Google Cloud project to which you have access. See [Provision API hub](/apigee/docs/apihub/provision).\n2. In the Google Cloud console, on the project selector page, select the project in which API\n hub is provisioned.\n\n [Go to project selector](https://console.cloud.google.com/projectselector2/home/dashboard)\n\nRegister an API\n---------------\n\nWhen you register an API with API hub, you create and store an entity that represents the API.\nWe call this entity an *API resource* . API resources stored in API hub are searchable and provide\ndetailed operational and descriptive information about the API. To learn more, see [API resources overview](./apis-intro).\n\n1. In the Google Cloud console, go to the **APIs** page in **Apigee API hub**.\n\n [Go to API hub](https://console.cloud.google.com/apigee/api-hub/apis)\n2. Click **Register API** . The *Register an API* form appears.\n3. In the **General details** section of the form, enter a display name. The display name is simply a name of your choice that will appear in the user interface after you register the API. This attribute is required.\n4. Click **Continue**.\n5. The **Owner information** form opens.\n6. The owner information fields are optional. For now, leave them blank and click **Continue**.\n7. The *Additional details* form opens.\n8. In the **Description** field, enter a brief description of the API. Description is an optional field.\n9. Skip the remaining fields and click **Continue**.\n10. The **User defined attributes** form opens.\n11. Provide values for any of the attributes you wish. If there are no attributes, that means none have been created yet. See [Create user-defined attributes](./quickstart-settings#create-user-defined-attributes).\n12. Click **Register**.\n\nYou have created an API resource in API hub. You can always return to an API resource to edit it later.\n\nView API details\n----------------\n\nAfter you register an API, you can view its details.\n\n1. In the Google Cloud console, go to the **APIs** page in **Apigee API hub**.\n\n [Go to API hub](https://console.cloud.google.com/apigee/api-hub/apis)\n2. Find the API you just registered in the list of registered APIs. If you don't see it, type the name of the API in the **Filter**.\n3. Click the API name to view its details.\n\nIn the next quickstart you will create a version for the API.\n\nNext step\n---------\n\n[Create an API version](./quickstart-version)"]]