# Dependency Management

Operations related to dependency management.

## Get a organization dependency

> Get a organization dependency by admin

```json
{"openapi":"3.0.3","info":{"title":"AppMaker API - OAS 3.0","version":"1.0.0"},"tags":[{"name":"dependency-management","description":"Operations related to dependency management."}],"servers":[{"url":"https://abp-api.akinon.net/api/v1","description":"Production server"},{"url":"https://abptest-api.akinon.net/api/v1","description":"Test server"},{"url":"http://localhost:5001/api/v1","description":"Local server"}],"security":[{"bearerAuth":[]},{"accessToken":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"},"accessToken":{"type":"apiKey","in":"header","name":"x-access-token"}},"parameters":{"OrganizationIdPathParam":{"name":"organizationId","in":"path","required":true,"description":"Organization ID","schema":{"$ref":"#/components/schemas/MongoId"}},"DependencyIdPathParam":{"name":"dependencyId","in":"path","required":true,"description":"Dependency ID","schema":{"$ref":"#/components/schemas/MongoId"}}},"schemas":{"MongoId":{"type":"string","pattern":"^[0-9a-fA-F]{24}$","description":"Entity ID"},"Dependency":{"type":"object","required":["isPrivate","readme","isVisible","_id","name","organization","createdAt","updatedAt"],"properties":{"isPrivate":{"type":"boolean","description":"Dependency is private"},"readme":{"type":"string","description":"Dependency readme"},"isVisible":{"type":"boolean","description":"Dependency is visible"},"_id":{"$ref":"#/components/schemas/ReadOnlyMongoId"},"name":{"type":"string","minLength":2,"maxLength":100,"description":"Dependency name"},"organization":{"type":"string","description":"Organization id"},"createdAt":{"$ref":"#/components/schemas/ReadOnlyDate"},"updatedAt":{"$ref":"#/components/schemas/ReadOnlyDate"}}},"ReadOnlyMongoId":{"type":"string","pattern":"^[0-9a-fA-F]{24}$","description":"Entity ID","readOnly":true},"ReadOnlyDate":{"type":"string","format":"date-time","readOnly":true,"description":"Date"},"UnauthorizedError":{"type":"object","properties":{"apiError":{"type":"array","items":{"type":"string"},"description":"Error message"}}},"ForbiddenError":{"type":"object","properties":{"apiError":{"type":"array","items":{"type":"string"},"description":"Error message"}}}},"responses":{"GetDependencyResponse":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Dependency"}}}},"UnauthorizedErrorResponse":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"ForbiddenErrorResponse":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"NotFoundRepsonse":{"description":"Not Found","content":{"application/json":{"schema":{"type":"object","properties":{"apiError":{"type":"array","items":{}}}}}}}}},"paths":{"/organizations/{organizationId}/dependencies/{dependencyId}":{"get":{"tags":["dependency-management"],"summary":"Get a organization dependency","description":"Get a organization dependency by admin","operationId":"getOrgDependency","parameters":[{"$ref":"#/components/parameters/OrganizationIdPathParam"},{"$ref":"#/components/parameters/DependencyIdPathParam"}],"responses":{"200":{"$ref":"#/components/responses/GetDependencyResponse"},"401":{"$ref":"#/components/responses/UnauthorizedErrorResponse"},"403":{"$ref":"#/components/responses/ForbiddenErrorResponse"},"404":{"$ref":"#/components/responses/NotFoundRepsonse"}}}}}}
```

## Update a organization dependency

> Update a organization dependency by admin

```json
{"openapi":"3.0.3","info":{"title":"AppMaker API - OAS 3.0","version":"1.0.0"},"tags":[{"name":"dependency-management","description":"Operations related to dependency management."}],"servers":[{"url":"https://abp-api.akinon.net/api/v1","description":"Production server"},{"url":"https://abptest-api.akinon.net/api/v1","description":"Test server"},{"url":"http://localhost:5001/api/v1","description":"Local server"}],"security":[{"bearerAuth":[]},{"accessToken":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"},"accessToken":{"type":"apiKey","in":"header","name":"x-access-token"}},"parameters":{"OrganizationIdPathParam":{"name":"organizationId","in":"path","required":true,"description":"Organization ID","schema":{"$ref":"#/components/schemas/MongoId"}},"DependencyIdPathParam":{"name":"dependencyId","in":"path","required":true,"description":"Dependency ID","schema":{"$ref":"#/components/schemas/MongoId"}}},"schemas":{"MongoId":{"type":"string","pattern":"^[0-9a-fA-F]{24}$","description":"Entity ID"},"Dependency":{"type":"object","required":["isPrivate","readme","isVisible","_id","name","organization","createdAt","updatedAt"],"properties":{"isPrivate":{"type":"boolean","description":"Dependency is private"},"readme":{"type":"string","description":"Dependency readme"},"isVisible":{"type":"boolean","description":"Dependency is visible"},"_id":{"$ref":"#/components/schemas/ReadOnlyMongoId"},"name":{"type":"string","minLength":2,"maxLength":100,"description":"Dependency name"},"organization":{"type":"string","description":"Organization id"},"createdAt":{"$ref":"#/components/schemas/ReadOnlyDate"},"updatedAt":{"$ref":"#/components/schemas/ReadOnlyDate"}}},"ReadOnlyMongoId":{"type":"string","pattern":"^[0-9a-fA-F]{24}$","description":"Entity ID","readOnly":true},"ReadOnlyDate":{"type":"string","format":"date-time","readOnly":true,"description":"Date"},"UnauthorizedError":{"type":"object","properties":{"apiError":{"type":"array","items":{"type":"string"},"description":"Error message"}}},"ForbiddenError":{"type":"object","properties":{"apiError":{"type":"array","items":{"type":"string"},"description":"Error message"}}}},"requestBodies":{"UpdateOrgDependencyRequest":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"isPrivate":{"type":"boolean","description":"Dependency is private"},"imageUrl":{"type":"string","description":"Dependency image URL"}}}}}}},"responses":{"UpdateDependencyResponse":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Dependency"}}}},"UnauthorizedErrorResponse":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"ForbiddenErrorResponse":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"NotFoundRepsonse":{"description":"Not Found","content":{"application/json":{"schema":{"type":"object","properties":{"apiError":{"type":"array","items":{}}}}}}}}},"paths":{"/organizations/{organizationId}/dependencies/{dependencyId}":{"patch":{"tags":["dependency-management"],"summary":"Update a organization dependency","description":"Update a organization dependency by admin","operationId":"updateOrgDependency","parameters":[{"$ref":"#/components/parameters/OrganizationIdPathParam"},{"$ref":"#/components/parameters/DependencyIdPathParam"}],"requestBody":{"$ref":"#/components/requestBodies/UpdateOrgDependencyRequest"},"responses":{"200":{"$ref":"#/components/responses/UpdateDependencyResponse"},"401":{"$ref":"#/components/responses/UnauthorizedErrorResponse"},"403":{"$ref":"#/components/responses/ForbiddenErrorResponse"},"404":{"$ref":"#/components/responses/NotFoundRepsonse"}}}}}}
```

## Get organization dependencies

> Get organization dependencies by admin

```json
{"openapi":"3.0.3","info":{"title":"AppMaker API - OAS 3.0","version":"1.0.0"},"tags":[{"name":"dependency-management","description":"Operations related to dependency management."}],"servers":[{"url":"https://abp-api.akinon.net/api/v1","description":"Production server"},{"url":"https://abptest-api.akinon.net/api/v1","description":"Test server"},{"url":"http://localhost:5001/api/v1","description":"Local server"}],"security":[{"bearerAuth":[]},{"accessToken":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"},"accessToken":{"type":"apiKey","in":"header","name":"x-access-token"}},"parameters":{"OrganizationIdPathParam":{"name":"organizationId","in":"path","required":true,"description":"Organization ID","schema":{"$ref":"#/components/schemas/MongoId"}},"LimitQueryParam":{"name":"limit","in":"query","required":false,"description":"The limit of per page","schema":{"type":"integer","default":10}},"PageQueryParam":{"name":"page","in":"query","required":false,"description":"Current page number","schema":{"type":"integer","default":1}},"SortQueryParam":{"name":"sort","in":"query","required":false,"description":"Sort","schema":{"type":"string"}},"TextQueryParam":{"name":"text","in":"query","description":"Text","schema":{"type":"string"}},"IsPrivateQueryParam":{"name":"isPrivate","in":"query","required":false,"description":"The is private to filter","schema":{"type":"boolean"}}},"schemas":{"MongoId":{"type":"string","pattern":"^[0-9a-fA-F]{24}$","description":"Entity ID"},"Pagination":{"type":"object","required":["totalDocs","limit","page","totalPages","pagingCounter","hasPrevPage","hasNextPage","prevPage","nextPage","docs"],"properties":{"totalDocs":{"type":"integer","description":"The total number of users"},"limit":{"type":"integer","description":"The limit of users per page","default":10},"page":{"type":"integer","description":"Current page","default":1},"totalPages":{"type":"integer","description":"The total number of pages"},"pagingCounter":{"type":"integer","description":"Current page number"},"hasPrevPage":{"type":"boolean","description":"Has previous page"},"hasNextPage":{"type":"boolean","description":"Has next page"},"prevPage":{"type":"integer","description":"Previous page number"},"nextPage":{"type":"integer","description":"Next page number"},"docs":{"description":"Items"}}},"Dependency":{"type":"object","required":["isPrivate","readme","isVisible","_id","name","organization","createdAt","updatedAt"],"properties":{"isPrivate":{"type":"boolean","description":"Dependency is private"},"readme":{"type":"string","description":"Dependency readme"},"isVisible":{"type":"boolean","description":"Dependency is visible"},"_id":{"$ref":"#/components/schemas/ReadOnlyMongoId"},"name":{"type":"string","minLength":2,"maxLength":100,"description":"Dependency name"},"organization":{"type":"string","description":"Organization id"},"createdAt":{"$ref":"#/components/schemas/ReadOnlyDate"},"updatedAt":{"$ref":"#/components/schemas/ReadOnlyDate"}}},"ReadOnlyMongoId":{"type":"string","pattern":"^[0-9a-fA-F]{24}$","description":"Entity ID","readOnly":true},"ReadOnlyDate":{"type":"string","format":"date-time","readOnly":true,"description":"Date"},"UnauthorizedError":{"type":"object","properties":{"apiError":{"type":"array","items":{"type":"string"},"description":"Error message"}}},"ForbiddenError":{"type":"object","properties":{"apiError":{"type":"array","items":{"type":"string"},"description":"Error message"}}}},"responses":{"GetDependenciesResponse":{"description":"OK","content":{"application/json":{"schema":{"required":["docs"],"allOf":[{"$ref":"#/components/schemas/Pagination"},{"type":"object","properties":{"docs":{"type":"array","items":{"$ref":"#/components/schemas/Dependency"}}}}]}}}},"UnauthorizedErrorResponse":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"ForbiddenErrorResponse":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}}}},"paths":{"/organizations/{organizationId}/dependencies":{"get":{"tags":["dependency-management"],"summary":"Get organization dependencies","description":"Get organization dependencies by admin","operationId":"getOrgDependencies","parameters":[{"$ref":"#/components/parameters/OrganizationIdPathParam"},{"$ref":"#/components/parameters/LimitQueryParam"},{"$ref":"#/components/parameters/PageQueryParam"},{"$ref":"#/components/parameters/SortQueryParam"},{"$ref":"#/components/parameters/TextQueryParam"},{"$ref":"#/components/parameters/IsPrivateQueryParam"}],"responses":{"200":{"$ref":"#/components/responses/GetDependenciesResponse"},"401":{"$ref":"#/components/responses/UnauthorizedErrorResponse"},"403":{"$ref":"#/components/responses/ForbiddenErrorResponse"}}}}}}
```

## Create a organization dependency

> Create a organization dependency by admin

```json
{"openapi":"3.0.3","info":{"title":"AppMaker API - OAS 3.0","version":"1.0.0"},"tags":[{"name":"dependency-management","description":"Operations related to dependency management."}],"servers":[{"url":"https://abp-api.akinon.net/api/v1","description":"Production server"},{"url":"https://abptest-api.akinon.net/api/v1","description":"Test server"},{"url":"http://localhost:5001/api/v1","description":"Local server"}],"security":[{"bearerAuth":[]},{"accessToken":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"},"accessToken":{"type":"apiKey","in":"header","name":"x-access-token"}},"parameters":{"OrganizationIdPathParam":{"name":"organizationId","in":"path","required":true,"description":"Organization ID","schema":{"$ref":"#/components/schemas/MongoId"}}},"schemas":{"MongoId":{"type":"string","pattern":"^[0-9a-fA-F]{24}$","description":"Entity ID"},"Dependency":{"type":"object","required":["isPrivate","readme","isVisible","_id","name","organization","createdAt","updatedAt"],"properties":{"isPrivate":{"type":"boolean","description":"Dependency is private"},"readme":{"type":"string","description":"Dependency readme"},"isVisible":{"type":"boolean","description":"Dependency is visible"},"_id":{"$ref":"#/components/schemas/ReadOnlyMongoId"},"name":{"type":"string","minLength":2,"maxLength":100,"description":"Dependency name"},"organization":{"type":"string","description":"Organization id"},"createdAt":{"$ref":"#/components/schemas/ReadOnlyDate"},"updatedAt":{"$ref":"#/components/schemas/ReadOnlyDate"}}},"ReadOnlyMongoId":{"type":"string","pattern":"^[0-9a-fA-F]{24}$","description":"Entity ID","readOnly":true},"ReadOnlyDate":{"type":"string","format":"date-time","readOnly":true,"description":"Date"},"UnauthorizedError":{"type":"object","properties":{"apiError":{"type":"array","items":{"type":"string"},"description":"Error message"}}}},"requestBodies":{"CreateOrgDependencyRequest":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"name":{"type":"string","minLength":3,"maxLength":255,"description":"Dependency name"},"readme":{"type":"string","maxLength":1000,"description":"Dependency readme"},"isPrivate":{"type":"boolean","description":"Dependency is private"}}}}}}},"responses":{"CreateDependencyResponse":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Dependency"}}}},"ValidationErrorResponse":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"object","properties":{"validationError":{"type":"object","properties":{}}}}}}},"UnauthorizedErrorResponse":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}}}},"paths":{"/organizations/{organizationId}/dependencies":{"post":{"tags":["dependency-management"],"summary":"Create a organization dependency","description":"Create a organization dependency by admin","operationId":"createOrgDependency","parameters":[{"$ref":"#/components/parameters/OrganizationIdPathParam"}],"requestBody":{"$ref":"#/components/requestBodies/CreateOrgDependencyRequest"},"responses":{"201":{"$ref":"#/components/responses/CreateDependencyResponse"},"400":{"$ref":"#/components/responses/ValidationErrorResponse"},"401":{"$ref":"#/components/responses/UnauthorizedErrorResponse"}}}}}}
```

## Search dependencies

> Search dependencies by organization user

```json
{"openapi":"3.0.3","info":{"title":"AppMaker API - OAS 3.0","version":"1.0.0"},"tags":[{"name":"dependency-management","description":"Operations related to dependency management."}],"servers":[{"url":"https://abp-api.akinon.net/api/v1","description":"Production server"},{"url":"https://abptest-api.akinon.net/api/v1","description":"Test server"},{"url":"http://localhost:5001/api/v1","description":"Local server"}],"security":[{"bearerAuth":[]},{"accessToken":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"},"accessToken":{"type":"apiKey","in":"header","name":"x-access-token"}},"parameters":{"DependencyNameQueryParam":{"name":"name","in":"query","required":false,"description":"Dependency name","schema":{"type":"string"}},"VersionQueryParam":{"name":"version","in":"query","required":false,"description":"Dependency package version","schema":{"type":"string"}}},"responses":{"SearchDependenciesResponse":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DependencyPackage"}}}},"UnauthorizedErrorResponse":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"ForbiddenErrorResponse":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}}},"schemas":{"DependencyPackage":{"type":"object","required":["assetUrl","isPrivate","readme","_id","versionNumber","createdAt","updatedAt","publisher","dependency","checksum","rank","envVersionNumber"],"properties":{"assetUrl":{"type":"string","description":"Dependency package asset URL"},"isPrivate":{"type":"boolean","description":"Dependency package is private"},"readme":{"type":"string","description":"Dependency package readme"},"_id":{"$ref":"#/components/schemas/ReadOnlyMongoId"},"versionNumber":{"type":"string","minLength":5,"maxLength":20,"description":"Dependency package version number"},"publisher":{"type":"object","description":"Dependency package publisher","properties":{"_id":{"$ref":"#/components/schemas/ReadOnlyMongoId"},"firstName":{"type":"string","minLength":5,"maxLength":255,"description":"User first name"},"lastName":{"type":"string","minLength":5,"maxLength":255,"description":"User last name"}}},"dependency":{"$ref":"#/components/schemas/ReadOnlyMongoId"},"checksum":{"type":"string","description":"Dependency package checksum"},"rank":{"type":"integer","description":"Dependency package rank"},"envVersionNumber":{"type":"string","minLength":5,"maxLength":20,"description":"Dependency package env version number"},"createdAt":{"$ref":"#/components/schemas/ReadOnlyDate"},"updatedAt":{"$ref":"#/components/schemas/ReadOnlyDate"}}},"ReadOnlyMongoId":{"type":"string","pattern":"^[0-9a-fA-F]{24}$","description":"Entity ID","readOnly":true},"ReadOnlyDate":{"type":"string","format":"date-time","readOnly":true,"description":"Date"},"UnauthorizedError":{"type":"object","properties":{"apiError":{"type":"array","items":{"type":"string"},"description":"Error message"}}},"ForbiddenError":{"type":"object","properties":{"apiError":{"type":"array","items":{"type":"string"},"description":"Error message"}}}}},"paths":{"/public/dependencies/search":{"get":{"tags":["dependency-management"],"summary":"Search dependencies","description":"Search dependencies by organization user","operationId":"searchDependencies","parameters":[{"$ref":"#/components/parameters/DependencyNameQueryParam"},{"$ref":"#/components/parameters/VersionQueryParam"}],"responses":{"200":{"$ref":"#/components/responses/SearchDependenciesResponse"},"401":{"$ref":"#/components/responses/UnauthorizedErrorResponse"},"403":{"$ref":"#/components/responses/ForbiddenErrorResponse"}}}}}}
```

## Check updates

> Check updates by organization user

```json
{"openapi":"3.0.3","info":{"title":"AppMaker API - OAS 3.0","version":"1.0.0"},"tags":[{"name":"dependency-management","description":"Operations related to dependency management."}],"servers":[{"url":"https://abp-api.akinon.net/api/v1","description":"Production server"},{"url":"https://abptest-api.akinon.net/api/v1","description":"Test server"},{"url":"http://localhost:5001/api/v1","description":"Local server"}],"security":[{"bearerAuth":[]},{"accessToken":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"},"accessToken":{"type":"apiKey","in":"header","name":"x-access-token"}},"parameters":{"DependencyNamePathParam":{"name":"dependencyName","in":"path","required":true,"description":"Dependency name","schema":{"type":"string"}},"VersionQueryParam":{"name":"version","in":"query","required":false,"description":"Dependency package version","schema":{"type":"string"}}},"responses":{"CheckUpdatesResponse":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["currentVersion","isUpdateAvailable"],"properties":{"currentVersion":{"type":"string","description":"Current version"},"assetUrl":{"type":"string","description":"Asset s3 url"},"newVersionAssetUrl":{"type":"string","description":"New version asset s3 url"},"isUpdateAvailable":{"type":"boolean","description":"Update is available"}}}}}},"UnauthorizedErrorResponse":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"ForbiddenErrorResponse":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}}},"schemas":{"UnauthorizedError":{"type":"object","properties":{"apiError":{"type":"array","items":{"type":"string"},"description":"Error message"}}},"ForbiddenError":{"type":"object","properties":{"apiError":{"type":"array","items":{"type":"string"},"description":"Error message"}}}}},"paths":{"/public/dependencies/check-updates/{dependencyName}":{"get":{"tags":["dependency-management"],"summary":"Check updates","description":"Check updates by organization user","operationId":"checkUpdates","parameters":[{"$ref":"#/components/parameters/DependencyNamePathParam"},{"$ref":"#/components/parameters/VersionQueryParam"}],"responses":{"200":{"$ref":"#/components/responses/CheckUpdatesResponse"},"401":{"$ref":"#/components/responses/UnauthorizedErrorResponse"},"403":{"$ref":"#/components/responses/ForbiddenErrorResponse"}}}}}}
```

## Get a dependency

> Get a dependency by organization user

```json
{"openapi":"3.0.3","info":{"title":"AppMaker API - OAS 3.0","version":"1.0.0"},"tags":[{"name":"dependency-management","description":"Operations related to dependency management."}],"servers":[{"url":"https://abp-api.akinon.net/api/v1","description":"Production server"},{"url":"https://abptest-api.akinon.net/api/v1","description":"Test server"},{"url":"http://localhost:5001/api/v1","description":"Local server"}],"security":[{"bearerAuth":[]},{"accessToken":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"},"accessToken":{"type":"apiKey","in":"header","name":"x-access-token"}},"parameters":{"DependencyIdPathParam":{"name":"dependencyId","in":"path","required":true,"description":"Dependency ID","schema":{"$ref":"#/components/schemas/MongoId"}}},"schemas":{"MongoId":{"type":"string","pattern":"^[0-9a-fA-F]{24}$","description":"Entity ID"},"Dependency":{"type":"object","required":["isPrivate","readme","isVisible","_id","name","organization","createdAt","updatedAt"],"properties":{"isPrivate":{"type":"boolean","description":"Dependency is private"},"readme":{"type":"string","description":"Dependency readme"},"isVisible":{"type":"boolean","description":"Dependency is visible"},"_id":{"$ref":"#/components/schemas/ReadOnlyMongoId"},"name":{"type":"string","minLength":2,"maxLength":100,"description":"Dependency name"},"organization":{"type":"string","description":"Organization id"},"createdAt":{"$ref":"#/components/schemas/ReadOnlyDate"},"updatedAt":{"$ref":"#/components/schemas/ReadOnlyDate"}}},"ReadOnlyMongoId":{"type":"string","pattern":"^[0-9a-fA-F]{24}$","description":"Entity ID","readOnly":true},"ReadOnlyDate":{"type":"string","format":"date-time","readOnly":true,"description":"Date"},"UnauthorizedError":{"type":"object","properties":{"apiError":{"type":"array","items":{"type":"string"},"description":"Error message"}}},"ForbiddenError":{"type":"object","properties":{"apiError":{"type":"array","items":{"type":"string"},"description":"Error message"}}}},"responses":{"GetPublicDependencyResponse":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Dependency"}}}},"UnauthorizedErrorResponse":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"ForbiddenErrorResponse":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"NotFoundRepsonse":{"description":"Not Found","content":{"application/json":{"schema":{"type":"object","properties":{"apiError":{"type":"array","items":{}}}}}}}}},"paths":{"/public/dependencies/{dependencyId}":{"get":{"tags":["dependency-management"],"summary":"Get a dependency","description":"Get a dependency by organization user","operationId":"getPublicDependency","parameters":[{"$ref":"#/components/parameters/DependencyIdPathParam"}],"responses":{"200":{"$ref":"#/components/responses/GetPublicDependencyResponse"},"401":{"$ref":"#/components/responses/UnauthorizedErrorResponse"},"403":{"$ref":"#/components/responses/ForbiddenErrorResponse"},"404":{"$ref":"#/components/responses/NotFoundRepsonse"}}}}}}
```
