# Bug BIM-18 - Fix GET viewpoint endpoint in BCF API

Project: Stream BIM
Status: closed
URL: https://community.openproject.org/work_packages/BIM-18

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 12.0.0 |
| Observed in versions |  |
| Bug found in version (deprecated) |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee | Wieland Lindenthal |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### TODO

  - current API implementation doesn't match BCF API specs (see [https://github.com/buildingSMART/BCF-API/tree/v2.1\#453-get-viewpoint-service)](https://github.com/buildingSMART/BCF-API/tree/v2.1#453-get-viewpoint-service))
      - snapshot data components and visibility are bundled to viewpoint get, even if API specs do not say that
  - fix all endpoints in route `GET /bcf/{version}/projects/{guid}/topics/{guid}/viewpoints/{guid}...`

#### List of issues

  - GET /viewpoints returns snapshot base64 data and components
  - GET /viewpoint/{guid} returns snapshot base64 data and components
