Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

event-dispatcher docs do not describe the /attachments/new endpoint #2854

Open
fariedt opened this issue Sep 20, 2021 · 3 comments
Open

event-dispatcher docs do not describe the /attachments/new endpoint #2854

fariedt opened this issue Sep 20, 2021 · 3 comments
Assignees
Labels
documentation Requires new or updates to our documentation

Comments

@fariedt
Copy link

fariedt commented Sep 20, 2021

POST /attachments/new

This payload includes information about attachments to transactions.

Example:

{
  "_json": [
    {
      "tx_id": "0x4225e3f791e15c815cb451dcf7ead1d660c03ee263d028cdd792ca91852ae39b",
      "content": "0x244f524947494e206a6573732e6274632e0a2454544c20333630300a5f687474702e5f74637009494e095552490931300931092268747470733a2f2f676169612e626c6f636b737461636b2e6f72672f6875622f31447a3961614b45784e70376e61537a653431723968376557654b53584d7053686b2f70726f66696c652e6a736f6e220a0a",
      "metadata": "0x0c00000004046e616d6502000000046a657373096e616d6573706163650200000003627463026f700d0000000d6e616d652d72656769737465720974782d73656e6465720516cc01b3b7e17d6d052326ee64e57ac286cfb417c2",
      "contract_id": "SP000000000000000000002Q6VF78.bns",
      "block_height": 17501,
      "content_hash": "0xc9c6f5c11d0acc3c70a9940e14e468bff9ff7a2e",
      "attachment_index": 2995,
      "index_block_hash": "0xb6924b5dc886f3c920c56d3a565c3f21c4a9942254940dc6fda005f2583d5fa6"
    },
    {
      "tx_id": "0x4bf985cc3b2e96218233b5238e2b719f7480d6441de55b61d7cf8b9710adc526",
      "content": "0x244f524947494e207370796465722e6274632e0a2454544c20333630300a5f687474702e5f74637009494e095552490931300931092268747470733a2f2f676169612e626c6f636b737461636b2e6f72672f6875622f313433504e3145424b6b6e41316d645a43535a55693568674d7078737159395759752f70726f66696c652e6a736f6e220a0a",
      "metadata": "0x0c00000004046e616d650200000006737079646572096e616d6573706163650200000003627463026f700d0000000d6e616d652d72656769737465720974782d73656e6465720516687ce3c73541eb93e9d0807c02523de8eb1bd72b",
      "contract_id": "SP000000000000000000002Q6VF78.bns",
      "block_height": 17501,
      "content_hash": "0xbfd21ae982fe0a46be78c9e1c1f26eb1e9c5b5b3",
      "attachment_index": 2981,
      "index_block_hash": "0xb6924b5dc886f3c920c56d3a565c3f21c4a9942254940dc6fda005f2583d5fa6"
    }
  ]
}
@kantai kantai added the documentation Requires new or updates to our documentation label Sep 23, 2021
@stale
Copy link

stale bot commented Oct 1, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Oct 1, 2022
@stale
Copy link

stale bot commented Nov 12, 2022

This issue has been automatically closed. Please reopen if needed.

@stale stale bot closed this as completed Nov 12, 2022
@zone117x
Copy link
Member

Not stale

@zone117x zone117x reopened this Nov 15, 2022
@stale stale bot removed stale labels Nov 15, 2022
@jcnelson jcnelson removed their assignment Feb 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Requires new or updates to our documentation
Projects
None yet
Development

No branches or pull requests

5 participants